diff --git a/core/modules/utils/dom/modal.js b/core/modules/utils/dom/modal.js index 76cb2f5f3..1f508a940 100644 --- a/core/modules/utils/dom/modal.js +++ b/core/modules/utils/dom/modal.js @@ -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); });