1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix style

This commit is contained in:
Dmitry Lyzo 2019-11-27 14:13:16 +03:00
parent 1d045d172b
commit 3752db775b
2 changed files with 10 additions and 6 deletions

View file

@ -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;