PATH:
home
/
lab2454c
/
transferwit.elementalrock.com
/
wp-content
/
themes
/
oceanwp
/
assets
/
js
/
third
/
woo
var $j = jQuery.noConflict(); $j( document ).ready( function() { "use strict"; // Woo mobile cart sidebar oceanwpWooMobileCart(); } ); /* ============================================== WOOCOMMERCE MOBILE CART SIDEBAR ============================================== */ function oceanwpWooMobileCart() { "use strict" if ( $j( 'body' ).hasClass( 'woocommerce-cart' ) || $j( 'body' ).hasClass( 'woocommerce-checkout' ) ) { return; } var oceanwp_cart_filter_close = function() { $j( 'html' ).css( { 'overflow': '', 'margin-right': '' } ); $j( 'body' ).removeClass( 'show-cart-sidebar' ); }; $j( document ).on( 'click', '.oceanwp-mobile-menu-icon a.wcmenucart', function( e ) { e.preventDefault(); var innerWidth = $j( 'html' ).innerWidth(); $j( 'html' ).css( 'overflow', 'hidden' ); var hiddenInnerWidth = $j( 'html' ).innerWidth(); $j( 'html' ).css( 'margin-right', hiddenInnerWidth - innerWidth ); $j( 'body' ).addClass( 'show-cart-sidebar' ); } ); $j( '.oceanwp-cart-sidebar-overlay, .oceanwp-cart-close').on( 'click', function( e ) { e.preventDefault(); oceanwp_cart_filter_close(); // Remove show-cart here to let the header mini cart working $j( 'body' ).removeClass( 'show-cart' ); } ); // Close on resize to avoid conflict $j( window ).resize( function() { oceanwp_cart_filter_close(); } ); }
[+]
devs
[-] woo-thumbnails.js
[edit]
[-] woo-display-cart.js
[edit]
[-] woo-multistep-checkout.js
[edit]
[+]
..
[-] woo-cat-widget.js
[edit]
[-] woo-floating-bar.js
[edit]
[-] woo-scripts.min.js
[edit]
[-] woo-off-canvas.min.js
[edit]
[-] woo-display-cart.min.js
[edit]
[-] woo-mini-cart.js
[edit]
[-] woo-thumbnails.min.js
[edit]
[-] woo-cat-widget.min.js
[edit]
[-] woo-quick-view.js
[edit]
[-] woo-off-canvas.js
[edit]
[-] woo-ajax-add-to-cart.min.js
[edit]
[-] woo-hover-style.min.js
[edit]
[-] woo-multistep-checkout.min.js
[edit]
[-] woo-ajax-add-to-cart.js
[edit]
[-] woo-quick-view.min.js
[edit]
[-] woo-hover-style.js
[edit]
[-] woo-floating-bar.min.js
[edit]
[-] woo-mini-cart.min.js
[edit]