Ecommerce Shopify WordPress Discussion

Problem with setPause function in bxslider on safari

<script type="text/javascript">jQuery(function($){var slider_wppasrotate668287855 = $(".wppasrotate668287855").bxSlider({ mode: "fade",slideMargin: 5,autoHover: true,adaptiveHeight: true,pager: false,controls: false,auto: true,pause: $(".wppasrotate668287855").find(".pasli").first().data("duration"),preloadImages: "all",onSliderLoad: function(currentIndex){ $(".wppasrotate668287855").find(".pasli").css("visibility", "visible");},onSlideAfter: function( $slideElement, oldIndex, newIndex ){ slider_wppasrotate668287855.setPause($($slideElement).data("duration"));},});});</script> As a result when the slider is changed in the console I get the following error: TypeError: wppasrotate668287855.setPause is not a function. (In 'wppasrotate668287855.setPause($($slideElement).data("duration"))', 'wppasrotate668287855.setPause' is undefined) How to solve this problem? This error does not occur on Chrome. I've tried different versions of jquery.bxslider.min.pas.js, from the one in my plugin to the current one, but the problem remains.
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.