Add Web UI support for escape key

This commit is contained in:
Thomas Piccirello
2019-01-10 15:49:35 -08:00
parent 7e98035df5
commit 74a772aafb
11 changed files with 108 additions and 30 deletions

View File

@@ -199,7 +199,7 @@
}
});
var searchKeyboardEvents = new Keyboard({
new Keyboard({
defaultEventType: 'keydown',
events: {
'enter': function(e) {
@@ -228,8 +228,7 @@
}
}
}
});
searchKeyboardEvents.activate();
}).activate();
};
var startSearch = function(pattern, category, plugins) {