1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-17 07:47:24 +00:00

Added reveal macro

This commit is contained in:
Jeremy Ruston
2012-12-31 18:36:39 +00:00
parent 61eb585640
commit 8fdeefd7d1
8 changed files with 247 additions and 131 deletions

View File

@@ -60,11 +60,13 @@ exports.dispatchMessage = function(event) {
};
exports.triggerPopup = function(event) {
var title = this.popup;
if(this.qualifyTiddlerTitles) {
title = title + "-" + this.renderer.getContextScopeId();
}
$tw.popup.triggerPopup({
textRef: this.popup,
domNode: this.renderer.domNode,
qualifyTiddlerTitles: this.qualifyTiddlerTitles,
renderContext: this.renderer.renderContext,
title: title,
wiki: this.renderer.renderTree.wiki
});
};