1(function($) { 2 'use strict'; 3 4 $(document).ready(function() { 5 6 if ( $('body').hasClass('woocommerce-cart') ) { 7 $(document.body).trigger('wc_fragment_refresh'); 8 } 9 10 $(document).on('click', '.woocommerce-cart-form .remove', function() { 11 sessionStorage.setItem('prometheus_refresh_cart', 'true'); 12 }); 13 14 if ( sessionStorage.getItem('prometheus_refresh_cart') === 'true' ) { 15 sessionStorage.removeItem('prometheus_refresh_cart'); 16 $(document.body).trigger('wc_fragment_refresh'); 17 } 18 19 }); 20 21})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.