mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 12:07:19 +00:00
Get rid of the modal popup for empty wikis
Ugly and clumsy.
This commit is contained in:
parent
e7a6e23906
commit
2be9e82f84
@ -1,11 +0,0 @@
|
|||||||
title: $:/messages/GettingStarted
|
|
||||||
type: text/vnd.tiddlywiki
|
|
||||||
subtitle: Welcome to ~TiddlyWiki
|
|
||||||
footer: <$button message="tw-close-tiddler" class="btn btn-primary">Close</$button>
|
|
||||||
help: http://five.tiddlywiki.com/static/GettingStarted
|
|
||||||
|
|
||||||
This ~TiddlyWiki is empty.
|
|
||||||
|
|
||||||
You can create and edit tiddlers, but before you use ~TiddlyWiki in earnest it is strongly advised that you verify that you can save and retrieve your changes.
|
|
||||||
|
|
||||||
~TiddlyWiki5 is currently a preliminary alpha release. Visit http://five.tiddlywiki.com/ for the latest information on how to use it.
|
|
@ -117,11 +117,6 @@ exports.startup = function() {
|
|||||||
$tw.utils.dispatchCustomEvent(document,"tw-modal",{
|
$tw.utils.dispatchCustomEvent(document,"tw-modal",{
|
||||||
param: "$:/messages/SaveInstructions"
|
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 {
|
} else {
|
||||||
// On the server, start a commander with the command line arguments
|
// On the server, start a commander with the command line arguments
|
||||||
|
Loading…
Reference in New Issue
Block a user