mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update src/elements/emby-checkbox/emby-checkbox.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
41f627a07e
commit
d6ab99b59d
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import 'webcomponents';
|
|||
function onKeyDown(e) {
|
||||
// Don't submit form on enter
|
||||
// Real (non-emulator) Tizen does nothing on Space
|
||||
if ((e.keyCode === 13 || e.keyCode === 32) && !browser.firefox) {
|
||||
if (e.keyCode === 13 || (e.keyCode === 32 && browser.tizen)) {
|
||||
e.preventDefault();
|
||||
|
||||
this.checked = !this.checked;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue