mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix radiobutton change notification
This commit is contained in:
parent
202adf7aaf
commit
a44473dca2
1 changed files with 7 additions and 1 deletions
|
@ -9,7 +9,13 @@ define(['css!./emby-radio', 'registerElement'], function () {
|
|||
if (e.keyCode === 13) {
|
||||
e.preventDefault();
|
||||
|
||||
this.checked = true;
|
||||
if (!this.checked) {
|
||||
this.checked = true;
|
||||
|
||||
this.dispatchEvent(new CustomEvent('change', {
|
||||
bubbles: true
|
||||
}));
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue