mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 02:42:27 +08:00
fix(client): quick search down arrow not working on no results (closes #798)
This commit is contained in:
parent
a2c287e8b8
commit
9dd296f83c
@ -76,7 +76,7 @@ export default class QuickSearchWidget extends BasicWidget {
|
|||||||
});
|
});
|
||||||
|
|
||||||
shortcutService.bindElShortcut(this.$searchString, 'down', () => {
|
shortcutService.bindElShortcut(this.$searchString, 'down', () => {
|
||||||
this.$dropdownMenu.find('.dropdown-item:first').focus();
|
this.$dropdownMenu.find('.dropdown-item:not(.disabled):first').focus();
|
||||||
});
|
});
|
||||||
|
|
||||||
shortcutService.bindElShortcut(this.$searchString, 'esc', () => {
|
shortcutService.bindElShortcut(this.$searchString, 'esc', () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user