From 6d4ac721eef6bf6e93a81930eec75850f91fccde Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 18 Mar 2013 09:50:19 -0700 Subject: [PATCH] note js fixes --- app/assets/javascripts/notes.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index 12626f223..c42a58db2 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -384,7 +384,9 @@ Danbooru.Note = { TranslationMode: { active: false, - start: function() { + start: function(e) { + e.preventDefault(); + if (Danbooru.Note.TranslationMode.active) { return; } @@ -406,6 +408,7 @@ Danbooru.Note = { Danbooru.Note.TranslationMode.stop(); $(".note-box").show(); e.stopPropagation(); + e.preventDefault(); } },