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:
parent
4a8800d77f
commit
fab09259c9
3 changed files with 6 additions and 6 deletions
|
@ -46,8 +46,8 @@ try {
|
|||
});
|
||||
|
||||
elem.scrollTo(opts);
|
||||
} catch (e) {
|
||||
console.error('error checking ScrollToOptions support');
|
||||
} catch {
|
||||
// no scroll to options support
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -19,8 +19,8 @@ if (HTMLElement.prototype.nativeFocus === undefined) {
|
|||
});
|
||||
|
||||
focusElem.focus(opts);
|
||||
} catch (e) {
|
||||
console.error('error checking preventScroll support');
|
||||
} catch {
|
||||
// no preventScroll supported
|
||||
}
|
||||
|
||||
if (!supportsPreventScrollOption) {
|
||||
|
|
|
@ -93,8 +93,8 @@ try {
|
|||
}
|
||||
});
|
||||
window.addEventListener('test', null, opts);
|
||||
} catch (e) {
|
||||
console.debug('error checking capture support');
|
||||
} catch {
|
||||
// no capture support
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue