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-08-04 19:48:54 -04:00
parent 8dbdfe3be1
commit 058d86a988
29 changed files with 239 additions and 314 deletions

View file

@ -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';
}