mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-24 12:17:39 +00:00
Get rid of the modal popup for empty wikis
Ugly and clumsy.
This commit is contained in:
@@ -117,11 +117,6 @@ exports.startup = function() {
|
||||
$tw.utils.dispatchCustomEvent(document,"tw-modal",{
|
||||
param: "$:/messages/SaveInstructions"
|
||||
});
|
||||
} else if($tw.wiki.countTiddlers() === 0){
|
||||
// Otherwise, if give instructions if this is an empty TiddlyWiki
|
||||
$tw.utils.dispatchCustomEvent(document,"tw-modal",{
|
||||
param: "$:/messages/GettingStarted"
|
||||
});
|
||||
}
|
||||
} else {
|
||||
// On the server, start a commander with the command line arguments
|
||||
|
||||
Reference in New Issue
Block a user