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

update components

This commit is contained in:
Luke Pulverenti 2016-02-22 12:20:38 -05:00
parent 76376601ab
commit 912bd57ca0
20 changed files with 233 additions and 243 deletions

View file

@ -1,6 +1,6 @@
{
"name": "iron-menu-behavior",
"version": "1.1.1",
"version": "1.1.2",
"description": "Provides accessible menu behavior",
"authors": "The Polymer Authors",
"keywords": [
@ -34,11 +34,11 @@
"web-component-tester": "^4.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
"_release": "1.1.1",
"_release": "1.1.2",
"_resolution": {
"type": "version",
"tag": "v1.1.1",
"commit": "0fc2c95803badd8e8f50cbe7f5d3669d647e7229"
"tag": "v1.1.2",
"commit": "8b09b6187b748499a0b8e9ddc789391d26e1d5d1"
},
"_source": "git://github.com/polymerelements/iron-menu-behavior.git",
"_target": "^1.0.0",

View file

@ -1,6 +1,6 @@
{
"name": "iron-menu-behavior",
"version": "1.1.1",
"version": "1.1.2",
"description": "Provides accessible menu behavior",
"authors": "The Polymer Authors",
"keywords": [

View file

@ -273,6 +273,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
_onUpKey: function(event) {
// up and down arrows moves the focus
this._focusPrevious();
event.detail.keyboardEvent.preventDefault();
},
/**
@ -282,6 +283,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
*/
_onDownKey: function(event) {
this._focusNext();
event.detail.keyboardEvent.preventDefault();
},
/**

View file

@ -43,20 +43,22 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
return window.getComputedStyle(this)['direction'] === 'rtl';
},
_onLeftKey: function() {
_onLeftKey: function(event) {
if (this._isRTL) {
this._focusNext();
} else {
this._focusPrevious();
}
event.detail.keyboardEvent.preventDefault();
},
_onRightKey: function() {
_onRightKey: function(event) {
if (this._isRTL) {
this._focusPrevious();
} else {
this._focusNext();
}
event.detail.keyboardEvent.preventDefault();
},
_onKeydown: function(event) {