1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-03 17:13:05 +00:00

Fix rootwidget handling

This commit is contained in:
Jermolene
2014-08-13 20:20:58 +01:00
parent 7c1cb97f7f
commit 449edf99b5
3 changed files with 13 additions and 11 deletions

View File

@@ -15,12 +15,10 @@ Setup the root widget and the core root widget handlers
// Export name and synchronous status
exports.name = "rootwidget";
exports.platforms = ["browser"];
exports.after = ["load-modules"];
exports.after = ["startup"];
exports.before = ["story"];
exports.synchronous = true;
var widget = require("$:/core/modules/widgets/widget.js");
exports.startup = function() {
// Install the modal message mechanism
$tw.modal = new $tw.utils.Modal($tw.wiki);