mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Bug 31933
This commit is contained in:
@ -158,10 +158,9 @@ define([
|
||||
|
||||
if (e.keyCode == Common.UI.Keys.UP || e.keyCode == Common.UI.Keys.DOWN) {
|
||||
_.delay(function() {
|
||||
var selected = me.cmpEl.find('ul li.selected a');
|
||||
|
||||
if (selected.length<=0)
|
||||
selected = me.cmpEl.find('ul li:not(.divider):first a');
|
||||
var selected = (e.keyCode == Common.UI.Keys.DOWN) ? me.cmpEl.find('ul li.selected').nextAll('li:not(.divider)') : me.cmpEl.find('ul li.selected').prevAll('li:not(.divider)');
|
||||
selected = (selected.length>0) ? selected.eq(0) : ((e.keyCode == Common.UI.Keys.DOWN) ? me.cmpEl.find('ul li:not(.divider):first') : me.cmpEl.find('ul li:not(.divider):last'));
|
||||
selected = selected.find('a');
|
||||
|
||||
me._skipInputChange = true;
|
||||
selected.focus();
|
||||
|
||||
@ -67,7 +67,9 @@
|
||||
color: @dropdown-link-active-color;
|
||||
|
||||
&:hover,
|
||||
&.hover {
|
||||
&.hover,
|
||||
&:focus,
|
||||
&.focus {
|
||||
background-color: @primary;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user