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

Remove error logs for checks expected to fail

This commit is contained in:
Bill Thornton 2023-05-10 10:31:41 -04:00
parent 4a8800d77f
commit fab09259c9
3 changed files with 6 additions and 6 deletions

View file

@ -46,8 +46,8 @@ try {
}); });
elem.scrollTo(opts); elem.scrollTo(opts);
} catch (e) { } catch {
console.error('error checking ScrollToOptions support'); // no scroll to options support
} }
/** /**

View file

@ -19,8 +19,8 @@ if (HTMLElement.prototype.nativeFocus === undefined) {
}); });
focusElem.focus(opts); focusElem.focus(opts);
} catch (e) { } catch {
console.error('error checking preventScroll support'); // no preventScroll supported
} }
if (!supportsPreventScrollOption) { if (!supportsPreventScrollOption) {

View file

@ -93,8 +93,8 @@ try {
} }
}); });
window.addEventListener('test', null, opts); window.addEventListener('test', null, opts);
} catch (e) { } catch {
console.debug('error checking capture support'); // no capture support
} }
/** /**