ES5 Compatability Problem

Viewing 1 post (of 1 total)
#131076

T winkler
Participant

I know that you should never use an old Browser Version, but reality is, that a lot of people still use an older version of Edge or Internet Explorer.
After a Script Shutdown caused by dowload manager pro I went to the core and discovered one line of code that is not ES5 compatible.

This line is present in two files:
download-manager/assets/js/front.js
download-manager/assets/js/wpdm.js
notify: function(message, type = 'info', position = 'top-right'){

There is a solution and an explanation for this problem on stack overflow.

You could either change this part according to the link above, or you could deliver an es5 compiled script in addition to an es6 compiled script. Users should then work out on their own, which one they want to use for their site.

Viewing 1 post (of 1 total)

The topic ‘ES5 Compatability Problem’ is closed to new replies.