mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-05-26 21:14:06 +03:00
6 lines
201 B
JavaScript
6 lines
201 B
JavaScript
// remove jsdom warning for not implemented second argument for window.getComputedStyle
|
|
try {
|
|
const cmptdStyle = window.getComputedStyle;
|
|
window.getComputedStyle = (a) => cmptdStyle(a);
|
|
} catch {}
|