Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi everybody i have issue with my website . I have the following error once i run an audit. Uncaught TypeError: Cannot read properties of undefined (reading 'apply') noticed in the following VM11 jquery.eislideshow.js:32. As in this picture.
Here is the code that shows the error
var $event = $.event, resizeTimeout;
$event.special.smartresize = {
setup: function() {
$(this).bind( "resize", $event.special.smartresize.handler );
},
teardown: function() {
$(this).unbind( "resize", $event.special.smartresize.handler );
},
handler: function( event, execAsap ) {
// Save the context
var context = this,
args = arguments;
// set correct event type
event.type = "smartresize";
if ( resizeTimeout ) { clearTimeout( resizeTimeout ); }
resizeTimeout = setTimeout(function() {
jQuery.event.handle.apply( context, args );
}, execAsap === "execAsap"? 0 : 100 );
}
};
Hello @perlebleu,
Probably this might be caused because of an issue with the slideshow plugin. Hence, it can only be resolved from their end. You need to connect with the plugin team to get this fixed.
Let us know if you need any further help with your Shopify store.
Regards,
Cedcommerce
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024