1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Fix redundant tooltip appearing after clicking the ellipsis button in the action menus (#41818).

Patch by Takenori TAKAKI (user:takenory).


git-svn-id: https://svn.redmine.org/redmine/trunk@23306 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2024-11-25 00:57:43 +00:00
parent 2846179e99
commit 3c53715262

View File

@ -760,8 +760,10 @@ $(document).ready(function(){
} else {
$(".drdn").removeClass("expanded");
drdn.addClass("expanded");
selected = $('.drdn-items a.selected'); // Store selected project
selected.focus(); // Calling focus to scroll to selected project
if ($(this).parent('#project-jump').length) {
selected = $('.drdn-items a.selected'); // Store selected project
selected.focus(); // Calling focus to scroll to selected project
}
if (!isMobile()) {
drdn.find(".autocomplete").focus();
}