• Resolved bpcdpc

    (@bpcdpc)


    Hello,
    I was using this plugin well until this plugin is updated to the latest version.
    I’m not sure if the problem occurred after the WordPress update or after the plugin update.

    The problem is that Ajax loading does not work from the second page, only in IE.
    I tested it in IE11.

    The error address is https://ode-audio.com/collections/
    and the error message is as follows.

    “Script445 object does not support this action: main.js”

    Is there a way around this?
    I would appreciate your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter bpcdpc

    (@bpcdpc)

    This problem was caused by the update of this plugin.
    I downgraded to 1.3.0 and it works fine again in IE.
    The site with 2.0.0 is https://amerson.cafe24.com/ode2/collections/.

    I have encountered this too with the 2.0.0 version of this plugin.

    I had the same error, also found this in the IE edge debugger

    var a=new CustomEvent("malinkyLoadPostsStart")
    Object doesn't support this action

    I followed your workaround and downgraded to 1.3.0 and now it works with IE!

    I hope this be fixed for the new updates so I can give 5 star review.

    Plugin Author craigramsay

    (@malinkymedia)

    Thanks for pointing this out. I have added a polyfill for the CustomEvent in IE but it can’t be working correctly. I’ll update as soon as possible.

    Most of the 2.0 release was focused around adding events and the ability to initialise the plugin at anytime. If you don’t use this functionality you won’t be missing too much by being on v1.3.

    Thanks again for letting me know about the bug.

    Adding this code in my theme solved the problem:

    jQuery( document ).ready(function( $ ) {
    	// polyfill for custom events on IE
    	if ( typeof window.CustomEvent !== "function" ) {
    		function CustomEvent ( event, params ) {
    			params = params || { bubbles: false, cancelable: false, detail: undefined };
    			var evt = document.createEvent( 'CustomEvent' );
    			evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );
    			return evt;
    		}
    		CustomEvent.prototype = window.Event.prototype;
    		window.CustomEvent = CustomEvent;
    	};
    });

    Hope it helps somehow.

    Plugin Author craigramsay

    (@malinkymedia)

    This IE bug has now been fixed in version 2.0.1.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not working on IE’ is closed to new replies.