This commit is contained in:
albert
2013-03-17 20:38:23 -04:00
parent 3275faf5ad
commit b643bfbf79

View File

@@ -476,7 +476,7 @@ Danbooru.Note = {
$(function() { $(function() {
if ($("#c-posts").length && $("#a-show").length && $("#image").length) { if ($("#c-posts").length && $("#a-show").length && $("#image").length) {
if ($("#note-locked-notice").length == 0) { if ($("#note-locked-notice").length == 0) {
$("#translate").one("click", Danbooru.Note.TranslationMode.start); $("#translate").bind("click", Danbooru.Note.TranslationMode.start);
$(document).bind("keydown.n", Danbooru.Note.TranslationMode.start); $(document).bind("keydown.n", Danbooru.Note.TranslationMode.start);
} }
Danbooru.Note.load_all(); Danbooru.Note.load_all();