js/events: do temporarily not respect tab focus
This has been added for keyboard navigation but caused some trouble. Postponed for now.
This commit is contained in:
parent
79d3f18b66
commit
67144407e6
|
@ -190,7 +190,8 @@
|
|||
dropdownLeave: function () {
|
||||
var $li = $(this);
|
||||
setTimeout(function () {
|
||||
if (! $li.is('li:hover') && ! $li.find(':focus')) {
|
||||
// TODO: make this behave well together with keyboard navigation
|
||||
if (! $li.is('li:hover') /*&& ! $li.find('a:focus')*/) {
|
||||
$li.removeClass('hover');
|
||||
}
|
||||
}, 300);
|
||||
|
|
Loading…
Reference in New Issue