small fixes

This commit is contained in:
zadam
2021-02-05 23:19:43 +01:00
parent 45516fa7b4
commit 0f05d6258e
2 changed files with 11 additions and 0 deletions

View File

@@ -58,6 +58,10 @@ export default class QuickSearchWidget extends BasicWidget {
this.$dropdownMenu.find('.dropdown-item:first').focus();
});
utils.bindElShortcut(this.$searchString, 'esc', () => {
this.$dropdownToggle.dropdown('hide');
});
return this.$widget;
}