mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 13:29:56 +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"),
|
||||
macro = me.macros[macroName],
|
||||
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) {
|
||||
var macroName = node.getAttribute("data-tw-macro");
|
||||
|
Loading…
Reference in New Issue
Block a user