1jQuery(document).ready(function($) { 2 "use strict"; 3 4 $(document).on('click', 'a.quickview-button', function(event){ 5 event.preventDefault(); 6 7 var $this = $(this); 8 9 var data = { 10 cache: false, 11 action: 'quick_view', 12 beforeSend: function() { 13 $this.addClass('quickview-loading'); 14 }, 15 'id': $this.data('product_id'), 16 }; 17 18 // since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php 19 $.post(MyAjax.ajaxurl, data, function(response) { 20 $.magnificPopup.open({ 21 type: 'inline', 22 items: { 23 src: response 24 } 25 }) 26 27 blonweThemeModule.countdown(); 28 29 blonweThemeModule.productquantity(); 30 31 32 $this.removeClass('quickview-loading'); 33 34 $("form.cart.grouped_form .input-text.qty").attr("value", "0"); 35 36 $( document.body ).trigger( 'blonweSinglePageInit' ); 37 38 $('.input-text.qty').closest('.quickview-product-wrapper').find( '.input-text.qty' ).val($('.input-text.qty').closest('.quickview-product-wrapper').find( '.input-text.qty' ).attr('min')); 39 40 $(".social-container a").jqss({ 41 url:$('ul.social-container').attr('data-url'), 42 }); 43 44 45 }); 46 }); 47 48});
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.