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:
@@ -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() {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user