• Resolved motoriousmo

    (@motoriousmo)


    Dear dudo
    Since mid-April there seem to be issues in ie11 with the plugin. yasr-front.js is using arrow-functions, “fetch” and “then”.
    These javascript-methods are es6 and do not work in ie11, it creates a syntax-error leading to further issues.

                    fetch(yasrCommonData.restEndpoint + urlVisitorVotes).then(response => {
                        return response.json();
                    }).then(data => {
    

    Would be great to get a fix for this as some of my sites no longer load for this issue ??

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor dudo

    (@dudo)

    Hi!

    Well, last version of ie11 was released in 2017, maybe it’s time to move over.
    Further, that call is done only if setting “Load results with AJAX” is enabled.

    However, I will transpile that file with babel fot the next version; in the meantime, you can convert it here https://babeljs.io/repl

    Best,
    Dario

    Thread Starter motoriousmo

    (@motoriousmo)

    Yeah, I used babel to convert it and its working fine. I thought it’s still important to let you now as it will be overwritten with your updates otherwise.

    The problem is that if you combine js-files, other features will not work as well, which happened in my case.

    I’m having almost 6% of my users on IE11 – not huge but i don’t want them to have a bad experience. Hopefully, this will decrease now since Microsoft will push updates now for Chromium.

    best and thanks,

    Thread Starter motoriousmo

    (@motoriousmo)

    Hey Dario
    So are you going to implement bable into your deployment process or do i have to do it myself everytime you are doing an update? The last versions weren’t compatible with ie11.

    I cant imagine im the only one having this process as ie11 is unfortunately not dead yet.

    best,

    Plugin Contributor dudo

    (@dudo)

    Hi, I’ve moved from fetch to jquery some versions ago, and when I tested it with IE 11 it was working fine.

    I will test the last version again before the new release.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Issues on IE11’ is closed to new replies.