mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update translations
This commit is contained in:
parent
8c75fcc5f7
commit
9622aceeca
40 changed files with 2099 additions and 486 deletions
|
@ -140,7 +140,6 @@ context. You should place this element as a child of `<body>` whenever possible.
|
|||
},
|
||||
|
||||
listeners: {
|
||||
'tap': '_onClick',
|
||||
'iron-resize': '_onIronResize'
|
||||
},
|
||||
|
||||
|
@ -162,6 +161,10 @@ context. You should place this element as a child of `<body>` whenever possible.
|
|||
|
||||
ready: function() {
|
||||
this._ensureSetup();
|
||||
},
|
||||
|
||||
attached: function() {
|
||||
// Call _openedChanged here so that position can be computed correctly.
|
||||
if (this._callOpenedWhenReady) {
|
||||
this._openedChanged();
|
||||
}
|
||||
|
@ -393,20 +396,10 @@ context. You should place this element as a child of `<body>` whenever possible.
|
|||
},
|
||||
|
||||
_onCaptureClick: function(event) {
|
||||
// attempt to close asynchronously and prevent the close of a tap event is immediately heard
|
||||
// on target. This is because in shadow dom due to event retargetting event.target is not
|
||||
// useful.
|
||||
if (!this.noCancelOnOutsideClick && (this._manager.currentOverlay() == this)) {
|
||||
this._cancelJob = this.async(function() {
|
||||
this.cancel();
|
||||
}, 10);
|
||||
}
|
||||
},
|
||||
|
||||
_onClick: function(event) {
|
||||
if (this._cancelJob) {
|
||||
this.cancelAsync(this._cancelJob);
|
||||
this._cancelJob = null;
|
||||
if (!this.noCancelOnOutsideClick &&
|
||||
this._manager.currentOverlay() === this &&
|
||||
Polymer.dom(event).path.indexOf(this) === -1) {
|
||||
this.cancel();
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -415,6 +408,7 @@ context. You should place this element as a child of `<body>` whenever possible.
|
|||
if (!this.noCancelOnEscKey && (event.keyCode === ESC)) {
|
||||
this.cancel();
|
||||
event.stopPropagation();
|
||||
event.stopImmediatePropagation();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue