mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update input
This commit is contained in:
parent
ae55e83e30
commit
26c5493ff7
2 changed files with 1 additions and 4 deletions
|
@ -22,7 +22,6 @@
|
|||
label.innerHTML = this.getAttribute('label') || '';
|
||||
label.classList.add('inputLabel');
|
||||
|
||||
label.classList.add('inputLabelUnfocused');
|
||||
label.htmlFor = this.id;
|
||||
parentNode.insertBefore(label, this);
|
||||
|
||||
|
@ -41,10 +40,8 @@
|
|||
this.addEventListener('focus', function () {
|
||||
onChange.call(this);
|
||||
label.classList.add('inputLabelFocused');
|
||||
label.classList.remove('inputLabelUnfocused');
|
||||
});
|
||||
this.addEventListener('blur', function () {
|
||||
label.classList.add('inputLabelUnfocused');
|
||||
label.classList.remove('inputLabelFocused');
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue