mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
8dbdfe3be1
commit
058d86a988
29 changed files with 239 additions and 314 deletions
|
@ -144,7 +144,9 @@ Custom property | Description | Default
|
|||
this._markdown = '```\n' + snippet + '\n' + '```';
|
||||
|
||||
// Stamp the template.
|
||||
Polymer.dom(this).appendChild(document.importNode(template.content, true));
|
||||
if (!template.is) {
|
||||
Polymer.dom(this).appendChild(document.importNode(template.content, true));
|
||||
}
|
||||
},
|
||||
|
||||
_copyToClipboard: function() {
|
||||
|
@ -160,7 +162,7 @@ Custom property | Description | Default
|
|||
this.$.copyButton.icon = 'done';
|
||||
} catch (err) {
|
||||
// Copy command is not available
|
||||
console.error(err);
|
||||
Polymer.Base._error(err);
|
||||
this.$.copyButton.icon = 'error';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue