mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
4d618da015
commit
1fd4ea266c
7 changed files with 56 additions and 17 deletions
|
@ -8,6 +8,11 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
// Doesn't seem to work at all
|
||||
if (browser.tizen) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Take advantage of the native input methods
|
||||
if (browser.tv) {
|
||||
return true;
|
||||
|
@ -120,13 +125,15 @@
|
|||
inputId++;
|
||||
}
|
||||
|
||||
this.removeEventListener('mousedown', onMouseDown);
|
||||
this.removeEventListener('keydown', onKeyDown);
|
||||
this.removeEventListener('focus', onFocus);
|
||||
this.removeEventListener('blur', onBlur);
|
||||
|
||||
this.removeEventListener('mousedown', onMouseDown);
|
||||
this.removeEventListener('keydown', onKeyDown);
|
||||
|
||||
this.addEventListener('mousedown', onMouseDown);
|
||||
this.addEventListener('keydown', onKeyDown);
|
||||
|
||||
this.addEventListener('focus', onFocus);
|
||||
this.addEventListener('blur', onBlur);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue