note js fixes

This commit is contained in:
albert
2013-03-18 09:50:19 -07:00
parent c1b034b3f8
commit 6d4ac721ee

View File

@@ -384,7 +384,9 @@ Danbooru.Note = {
TranslationMode: { TranslationMode: {
active: false, active: false,
start: function() { start: function(e) {
e.preventDefault();
if (Danbooru.Note.TranslationMode.active) { if (Danbooru.Note.TranslationMode.active) {
return; return;
} }
@@ -406,6 +408,7 @@ Danbooru.Note = {
Danbooru.Note.TranslationMode.stop(); Danbooru.Note.TranslationMode.stop();
$(".note-box").show(); $(".note-box").show();
e.stopPropagation(); e.stopPropagation();
e.preventDefault();
} }
}, },