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-05-10 22:23:31 -04:00
parent 9515975e35
commit f7e2648d79
9 changed files with 31 additions and 29 deletions

View file

@ -73,13 +73,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
if (event.target === this) {
this._setFocused(event.type === 'focus');
} else if (!this.shadowRoot &&
!this.isLightDescendant(Polymer.dom(event).localTarget)) {
this.fire(event.type, {sourceEvent: event}, {
node: this,
bubbles: event.bubbles,
cancelable: event.cancelable
});
} else if (!this.shadowRoot) {
var target = /** @type {Node} */(Polymer.dom(event).localTarget);
if (!this.isLightDescendant(target)) {
this.fire(event.type, {sourceEvent: event}, {
node: this,
bubbles: event.bubbles,
cancelable: event.cancelable
});
}
}
},