Jquery Script Doesn't Work Properly In Ie
There is a jQuery script on my website with additional JS code. Example: Example: https://jsfiddle.net/kerm131/at5sL2jc/12/ It works fine in Google Chrome, Opera, Edge and Mozilla
Solution 1:
To make it works I add polyfill library:
<scriptsrc="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
And change this:
targets.forEach(function (target) {
return observer.observe(target, options);
});
to this:
[].forEach.call(targets, function (target) {
return observer.observe(target, options);
});
(but I think it not necessary, first try without changing this string)
Post a Comment for "Jquery Script Doesn't Work Properly In Ie"