mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix getter return value bugs
This commit is contained in:
parent
c0012de927
commit
5cfdb1647f
3 changed files with 3 additions and 3 deletions
|
@ -87,9 +87,9 @@ export function parentWithClass(elem, classNames) {
|
|||
let supportsCaptureOption = false;
|
||||
try {
|
||||
const opts = Object.defineProperty({}, 'capture', {
|
||||
// eslint-disable-next-line getter-return
|
||||
get: function () {
|
||||
supportsCaptureOption = true;
|
||||
return null;
|
||||
}
|
||||
});
|
||||
window.addEventListener('test', null, opts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue