1/** 2 * Mollie https://www.mollie.nl 3 * 4 * @author Mollie B.V. <[email protected]> 5 * @copyright Mollie B.V. 6 * 7 * @license https://github.com/mollie/PrestaShop/blob/master/LICENSE.md 8 * 9 * @see https://github.com/mollie/PrestaShop 10 */ 11/** 12 * Mollie https://www.mollie.nl 13 * 14 * @author Mollie B.V. <[email protected]> 15 * @copyright Mollie B.V. 16 * @license https://github.com/mollie/PrestaShop/blob/master/LICENSE.md 17 * 18 * @see https://github.com/mollie/PrestaShop 19 * @codingStandardsIgnoreStart 20 */ 21$(document).ready(function () { 22 var hasHashTag = document.URL.indexOf('#'); 23 if (hasHashTag >= 0) { 24 var hashTag = document.URL.substr(document.URL.indexOf('#')+1); 25 parent.location.hash = ''; 26 $.ajax({ 27 url: ajaxUrl, 28 method: 'GET', 29 data: { 30 'hashTag': hashTag, 31 ajax: 1, 32 action: 'displayCheckoutError' 33 }, 34 success: function (response) { 35 if (isPS17) { 36 $('#checkout-payment-step').prepend(response); 37 } else { 38 $('#HOOK_PAYMENT').prepend(response); 39 } 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.