1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-11 09:50:27 +00:00

Fix problem with modal titles

This commit is contained in:
Jeremy Ruston 2013-10-29 15:01:36 +00:00
parent 731cbb8cd6
commit 654f48b14d

View File

@ -75,7 +75,7 @@ Modal.prototype.display = function(title,options) {
}
var headerParser = this.wiki.new_parseText("text/vnd.tiddlywiki",titleText,{parseAsInline: true}),
headerWidgetNode = this.wiki.makeWidget(headerParser,{parentWidget: $tw.rootWidget, document: document});
headerWidgetNode.render(modalHeader,null);
headerWidgetNode.render(headerTitle,null);
this.wiki.addEventListener("change",function(changes) {
headerWidgetNode.refresh(changes,modalHeader,null);
});