mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix style
This commit is contained in:
parent
1d045d172b
commit
3752db775b
2 changed files with 10 additions and 6 deletions
|
@ -18,7 +18,9 @@ if (HTMLElement.prototype.nativeFocus === undefined) {
|
|||
});
|
||||
|
||||
focusElem.focus(opts);
|
||||
} catch(e) {}
|
||||
} catch (e) {
|
||||
console.log("error checking preventScroll support");
|
||||
}
|
||||
|
||||
if (!supportsPreventScrollOption) {
|
||||
HTMLElement.prototype.nativeFocus = HTMLElement.prototype.focus;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue