1jQuery(document).ready(function($) { 2 "use strict"; 3 4 $(document).on('click', 'a.detail-bnt', function(event){ 5 event.preventDefault(); 6 var data = { 7 cache: false, 8 action: 'quick_view', 9 beforeSend: function() { 10 $('body').append('<svg class="loader-image preloader quick-view" width="65px" height="65px" viewBox="0 0 66 66" xmlns="http://www.w3.org/2000/svg"><circle class="path" fill="none" stroke-width="6" stroke-linecap="round" cx="33" cy="33" r="30"></circle></svg></div>'); 11 }, 12 'id': $(this).data('product_id'), 13 }; 14 15 // since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php 16 $.post(MyAjax.ajaxurl, data, function(response) { 17 $.magnificPopup.open({ 18 type: 'inline', 19 items: { 20 src: response 21 } 22 }) 23 24 partdoThemeModule.countdown(); 25 26 partdoThemeModule.siteslider(); 27 28 partdoThemeModule.productquantity(); 29 30 31 $("form.cart.grouped_form .input-text.qty").attr("value", "0"); 32 33 $( document.body ).trigger( 'partdoSinglePageInit' ); 34 35 $(".loader-image").remove(); 36 37 $('.input-text.qty').closest('.quick-product-wrapper').find( '.input-text.qty' ).val($('.input-text.qty').closest('.quick-product-wrapper').find( '.input-text.qty' ).attr('min')); 38 }); 39 }); 40 41});
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.