post_mode_menu: update preview link selector

Fixes the post-score link triggering the mode menu action as well as
all three score links getting the blue border on hover.
This commit is contained in:
NamelessContributor
2022-03-09 10:01:09 +01:00
parent dcbc9b3140
commit 3b63174525
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ PostModeMenu.initialize_selector = function() {
}
PostModeMenu.initialize_preview_link = function() {
$(document).on("click.danbooru", ".post-preview a", PostModeMenu.click);
$(document).on("click.danbooru", ".post-preview-container a", PostModeMenu.click);
}
PostModeMenu.initialize_edit_form = function() {

View File

@@ -1,4 +1,4 @@
body[data-mode-menu-active="true"] .post-preview a:hover {
body[data-mode-menu-active="true"] .post-preview-container a:hover {
outline: 4px solid var(--post-mode-menu-active-post-outline-color);
}