1/* global woodmart_settings */ 2(function($) { 3 woodmartThemeModule.onRemoveFromCart = function() { 4 if ('no' === woodmart_settings.woocommerce_ajax_add_to_cart) { 5 return; 6 } 7 8 woodmartThemeModule.$document.on('click', '.widget_shopping_cart .remove', function(e) { 9 e.preventDefault(); 10 $(this).parent().addClass('removing-process'); 11 }); 12 }; 13 14 $(document).ready(function() { 15 woodmartThemeModule.onRemoveFromCart(); 16 }); 17})(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.