mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update shared components
This commit is contained in:
parent
30db5a009c
commit
489dc97aab
33 changed files with 368 additions and 212 deletions
|
@ -128,7 +128,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
var attr = this.attrForItemTitle || 'textContent';
|
||||
var title = item[attr] || item.getAttribute(attr);
|
||||
|
||||
if (!item.hasAttribute('disabled') && title &&
|
||||
if (!item.hasAttribute('disabled') && title &&
|
||||
title.trim().charAt(0).toLowerCase() === String.fromCharCode(event.keyCode).toLowerCase()) {
|
||||
this._setFocusedItem(item);
|
||||
break;
|
||||
|
@ -209,17 +209,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
* detail.
|
||||
*/
|
||||
_onIronItemsChanged: function(event) {
|
||||
var mutations = event.detail;
|
||||
var mutation;
|
||||
var index;
|
||||
|
||||
for (index = 0; index < mutations.length; ++index) {
|
||||
mutation = mutations[index];
|
||||
|
||||
if (mutation.addedNodes.length) {
|
||||
this._resetTabindices();
|
||||
break;
|
||||
}
|
||||
if (event.detail.addedNodes.length) {
|
||||
this._resetTabindices();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue