note js fixes
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user