1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00

Fixed return value for macro events

This commit is contained in:
Jeremy Ruston 2012-02-04 15:56:06 +00:00
parent 15cfed83f4
commit 2ff56c193c

View File

@ -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");