I liked that better anyways.
This commit is contained in:
parent
ebd3f15868
commit
fcbdfdd63e
@ -1831,6 +1831,8 @@
|
|||||||
if (right) {
|
if (right) {
|
||||||
$.addClass(menu, 'left');
|
$.addClass(menu, 'left');
|
||||||
}
|
}
|
||||||
|
entry = $('.entry', menu);
|
||||||
|
this.focus(entry);
|
||||||
return menu.focus();
|
return menu.focus();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -1822,6 +1822,8 @@
|
|||||||
if (right) {
|
if (right) {
|
||||||
$.addClass(menu, 'left');
|
$.addClass(menu, 'left');
|
||||||
}
|
}
|
||||||
|
entry = $('.entry', menu);
|
||||||
|
this.focus(entry);
|
||||||
return menu.focus();
|
return menu.focus();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
BIN
builds/crx.crx
BIN
builds/crx.crx
Binary file not shown.
@ -1745,6 +1745,8 @@
|
|||||||
if (right) {
|
if (right) {
|
||||||
$.addClass(menu, 'left');
|
$.addClass(menu, 'left');
|
||||||
}
|
}
|
||||||
|
entry = $('.entry', menu);
|
||||||
|
this.focus(entry);
|
||||||
return menu.focus();
|
return menu.focus();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -85,11 +85,11 @@ UI = do ->
|
|||||||
if right
|
if right
|
||||||
$.addClass menu, 'left'
|
$.addClass menu, 'left'
|
||||||
|
|
||||||
# entry = $ '.entry', menu
|
entry = $ '.entry', menu
|
||||||
# We've removed flexbox, so we don't user order anymore.
|
# We've removed flexbox, so we don't user order anymore.
|
||||||
# while prevEntry = @findNextEntry entry, -1
|
# while prevEntry = @findNextEntry entry, -1
|
||||||
# entry = prevEntry
|
# entry = prevEntry
|
||||||
# @focus entry
|
@focus entry
|
||||||
|
|
||||||
menu.focus()
|
menu.focus()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user