0

I have an issue with a plugin that is causing a bug in IE but not in any other browser.

The bug error is:

SCRIPT1006: Expected ')'
filename.js (449,35)

Looking up this line in the script I can see:

   function dependanceLookup(_el, ev = false) {
      if (......etc etc

From what I can tell, this is due to ES6 (probably wrong as i'm not fluent in javascript).

Is there a way to change this line so it will work in IE? I haven't posted the whole code as it's from a paid plugin and I don't want anyone copying their code etc.

#

The fix was :

function dependanceLookup(_el, ev) { ev = !!ev;
user6796243
  • 43
  • 1
  • 9

0 Answers0