1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update search

This commit is contained in:
Luke Pulverenti 2015-09-23 22:31:40 -04:00
parent 8dd2c5d717
commit cc428aac1d
34 changed files with 814 additions and 549 deletions

View file

@ -30,11 +30,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
},
_onUpKey: function(event) {
this._activateFocused(event.detail.keyboardEvent);
this.focusedItem.click();
event.detail.keyboardEvent.preventDefault();
},
_onDownKey: function(event) {
this._activateFocused(event.detail.keyboardEvent);
this.focusedItem.click();
event.detail.keyboardEvent.preventDefault();
},
_onLeftKey: function() {
@ -46,7 +48,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
},
_onKeydown: function(event) {
if (this.keyboardEventMatchesKeys(event, 'up down left right esc enter')) {
if (this.keyboardEventMatchesKeys(event, 'up down left right esc')) {
return;
}