Close popup menu on navigation hover

This commit is contained in:
Tetrakern 2024-08-31 14:05:36 +02:00
parent 5c8ff5fd02
commit d627b65fa5
3 changed files with 13 additions and 5 deletions

8
js/complete.min.js vendored

File diff suppressed because one or more lines are too long

2
js/utility.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -520,6 +520,14 @@ _$('body').addEventListener(
}
);
// Hover over main menu
_$$$('full-navigation')?.addEventListener('mouseover', () => {
if (fcn_lastClicked) {
fcn_removeLastClick(fcn_lastClicked);
document.activeElement?.blur();
}
});
// =============================================================================
// REMOVE PARAGRAPH TOOLS BUTTONS FROM TEXT SELECTION
// =============================================================================