mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-02 14:29:55 +00:00
Fixed return value for macro events
This commit is contained in:
parent
15cfed83f4
commit
2ff56c193c
@ -400,7 +400,7 @@ WikiStore.prototype.attachEventHandlers = function(node,renderTiddler,renderTemp
|
|||||||
macroName = node.getAttribute("data-tw-macro"),
|
macroName = node.getAttribute("data-tw-macro"),
|
||||||
macro = me.macros[macroName],
|
macro = me.macros[macroName],
|
||||||
step = node.getAttribute("data-tw-render-step");
|
step = node.getAttribute("data-tw-render-step");
|
||||||
macro.events[event.type](event,node,renderTiddler,me,renderer.renderSteps[step].params(renderTiddler,renderer,me,utils));
|
return macro.events[event.type](event,node,renderTiddler,me,renderer.renderSteps[step].params(renderTiddler,renderer,me,utils));
|
||||||
};
|
};
|
||||||
if(node.getAttribute) {
|
if(node.getAttribute) {
|
||||||
var macroName = node.getAttribute("data-tw-macro");
|
var macroName = node.getAttribute("data-tw-macro");
|
||||||
|
Loading…
Reference in New Issue
Block a user