1/** * Estimated Delivery - Front Office Feature 2 * 3 * NOTICE OF LICENSE 4 * 5 * @author Pol Rué 6 * @copyright Smart Modules 2015 7 * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) 8 * @category Transport & Logistics 9 * Registered Trademark & Property of Smart-Modules.prpo 10 * 11 * *************************************************** 12 * * Estimated Delivery * 13 * * http://www.smart-modules.com * 14 * * * 15 * *************************************************** 16*/ 17 18$(document).ready(function() { 19 let init = false; 20 $(document).on('click', '.quick-view, .quickview, .js-quick-view, .js-quick-view-iqit', function() { 21 setTimeout(() => { ed_product_list_placement(80, 100); }, 500); 22 }); 23 24 function ed_product_list_placement(tries, ms) { 25 if (init) { 26 return; 27 } 28 init = true; 29 if ($('.quickview, .modal-quickview, .quick-view, .quickview-modal').not('a').length > 0) { 30 ed_product_placement_init(80, 100); 31 init = false; 32 } else { 33 if (tries > 0) { 34 if (ms < 800) { 35 ms = ms * 1.05; 36 } 37 setTimeout(function () { ed_product_list_placement(tries-1, ms); }, ms); 38 } else { 39 console.log('ED: Couldn\'t place the box in the modal view`'); 40 } 41 } 42 } 43});
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.