mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 13:32:24 +00:00
hide/show time lag seems to create a frustrating situation where:
1. you hover over the <a> tag 2. context menu displays 3. you try to move the mouse over to the menu 4. menu disappears 5. you can't click the menu *frustration*
This commit is contained in:
1 parent
a824d8a681
commit
e778bec9fc
1 file changed
+1
-2
@@ -62,12 +62,11 @@ var breadcrumbs = (function() {
|
||||
*/
|
||||
function handleHover(e,delay) {
|
||||
function showMenu(items) {
|
||||
menu.hide();
|
||||
|
||||
cancelMenu();
|
||||
hitTest = Dom.getRegion(e);
|
||||
menuDelay = window.setTimeout(function() {
|
||||
if (hitTest.contains(mouse)) {
|
||||
menu.hide();
|
||||
menu.cfg.setProperty("context", [e, "tl", "bl"]);
|
||||
menu.clearContent();
|
||||
menu.addItems(items);
|
||||
|
||||
Reference in new issue
Block a user