This commit is contained in:
albert
2013-03-05 17:53:59 -05:00
parent 84cb2b9ec1
commit 3621edd357
3 changed files with 10 additions and 4 deletions

View File

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