From 210f1bcd09720ca5ed439830f010382ab047b832 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 9 Feb 2012 13:36:21 +0000 Subject: [PATCH] Added missing event processing to story macro --- js/macros/story.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/macros/story.js b/js/macros/story.js index 14d5d6092..4128c1522 100644 --- a/js/macros/story.js +++ b/js/macros/story.js @@ -50,6 +50,8 @@ exports.macro = { $("html,body").animate({ scrollTop: 0 }, 400); + event.preventDefault(); + return false; } }, render: function(type,tiddler,store,params) {