fix: Don't disable mouse hover UI functionality on touch screens (#5433)
Because devices can have both touch and mouse input.
This commit is contained in:
parent
7c890ea69e
commit
53a90a38ce
|
@ -141,11 +141,9 @@ $(document)
|
|||
attachTo.append(menu.join(""));
|
||||
}
|
||||
|
||||
if (!("ontouchstart" in document.documentElement)) {
|
||||
$("ul.nav li.dropdown, ul.nav li.dropend")
|
||||
.on("mouseenter mouseleave", dropdown_hover);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue