hotkeys: fix shift+r => mark forum as read.
Also fix issue with a note handler being rebound instead of unbound.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
if ($("#c-forum-topics").length) {
|
||||
Danbooru.keydown("shift+r", "mark_all_as_read", function(e) {
|
||||
$("#secondary-links-mark-all-as-read a").click();
|
||||
$("#forum-topic-mark-all-as-read a")[0].click();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -585,7 +585,7 @@ Danbooru.Note = {
|
||||
$("#image").css("cursor", "auto");
|
||||
$("#image").click(Danbooru.Note.Box.toggle_all);
|
||||
$("#image").off("mousedown", Danbooru.Note.TranslationMode.Drag.start);
|
||||
$(window).mouseup(Danbooru.Note.TranslationMode.Drag.stop);
|
||||
$(window).off("mouseup", Danbooru.Note.TranslationMode.Drag.stop);
|
||||
$(document.body).removeClass("mode-translation");
|
||||
$("#close-notice-link").click();
|
||||
$("#mark-as-translated-section").hide();
|
||||
|
||||
Reference in New Issue
Block a user