mirror of
https://github.com/videojs/video.js.git
synced 2025-02-10 12:08:14 +02:00
fix: Remove listener used to test if passive listeners are supported (#4787)
Once you have successfully tested that passive listeners are supported you should remove the test listeners :)
This commit is contained in:
parent
2337c1bf43
commit
e582c3c843
@ -216,6 +216,7 @@ let _supportsPassive = false;
|
||||
});
|
||||
|
||||
window.addEventListener('test', null, opts);
|
||||
window.removeEventListener('test', null, opts);
|
||||
} catch (e) {
|
||||
// disregard
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user