fix simple bug url.indexOf is not a function
vahidalvandi opened this issue · 1 comments
vahidalvandi commented
<script type="text/javascript">
/* wait for images to load */
$(window).load( function() {
$('.sp-wrap').smoothproducts();
});
</script>
no work with jquery 3 bellow code work
<script type="text/javascript">
$(window).on('load', function() { $('.sp-wrap').smoothproducts(); });
</script>
markyves commented
Try to add below code in your custom js instead.
$(function(){
$('.sp-wrap').smoothproducts();
});