From f5a9df1ae3e480e123331d38000f4e272fa481c8 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 20 Jun 2012 17:40:08 +0100 Subject: [PATCH] Fixed event handler --- core/modules/macros/reveal.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/modules/macros/reveal.js b/core/modules/macros/reveal.js index 455c4a985..b0ad4f4a5 100644 --- a/core/modules/macros/reveal.js +++ b/core/modules/macros/reveal.js @@ -66,7 +66,10 @@ exports.handleEvent = function(event) { if(this.stateTextRef) { this.wiki.deleteTextReference(this.stateTextRef); } + event.preventDefault(); + return false; } + return true; }; exports.executeMacro = function() {