diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js
index 3c7836271..12765fff4 100644
--- a/app/assets/javascripts/notes.js
+++ b/app/assets/javascripts/notes.js
@@ -572,13 +572,12 @@ Danbooru.Note = {
$("#mark-as-translated-section").show();
Danbooru.notice('Translation mode is on. Drag on the image to create notes. Turn translation mode off (shortcut is n).');
- $("#notice a:contains(Turn translation mode off)").click(function(e) {
- Danbooru.Note.TranslationMode.stop();
- e.preventDefault();
- });
+ $("#notice a:contains(Turn translation mode off)").click(Danbooru.Note.TranslationMode.stop);
},
- stop: function() {
+ stop: function(e) {
+ e.preventDefault();
+
Danbooru.Note.TranslationMode.active = false;
$("#image").css("cursor", "auto");
$("#image").bind("click", Danbooru.Note.Box.toggle_all);