1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-19 16:24:51 +00:00

Added missing event processing to story macro

This commit is contained in:
Jeremy Ruston 2012-02-09 13:36:21 +00:00
parent 8d9b83484f
commit 210f1bcd09

View File

@ -50,6 +50,8 @@ exports.macro = {
$("html,body").animate({ $("html,body").animate({
scrollTop: 0 scrollTop: 0
}, 400); }, 400);
event.preventDefault();
return false;
} }
}, },
render: function(type,tiddler,store,params) { render: function(type,tiddler,store,params) {