Closed kesavkolla closed 1 month ago
@kesavkolla Thanks for the contribution!
Unfortunately, according to https://caniuse.com/?search=globalThis the globalThis
does not supported by IE11. Probably we could improve the PR via some extra code:
let gcontext = globalThis;
if (typeof globalThis === "undefined") context = window;
let jQueryInst = context ["jQuery"] || context ["$"];
What do you think?
Added check for globalThis and fallback to window.
Replaced window with globalThis. This will fix the issue #8911