update label
This commit is contained in:
parent
2497dcde57
commit
db42a915df
2 changed files with 9 additions and 2 deletions
|
@ -169,6 +169,13 @@
|
|||
arrowContainer.appendChild(arrow);
|
||||
};
|
||||
|
||||
EmbySelectPrototype.setLabel = function (text) {
|
||||
|
||||
var label = this.parentNode.querySelector('label');
|
||||
|
||||
label.innerHTML = text;
|
||||
};
|
||||
|
||||
document.registerElement('emby-select', {
|
||||
prototype: EmbySelectPrototype,
|
||||
extends: 'select'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue