1function openToast(targetId) { 2 if ($('.js-common-toast').lenght < 1) 3 return; 4 $('.js-common-toast').hide(); 5 if (targetId) { 6 $('.js-common-toast[data-toast-id="' + targetId + '"]').fadeIn(300); 7 } else { 8 $('.js-common-toast').fadeIn(300); 9 } 10 setTimeout(() => { 11 closeToast(targetId); 12 }, 3000); 13} 14 15function openJsCustomToast(messageVal) { 16 if ($('.js-common-toast').lenght < 1) 17 return; 18 $('.js-common-toast').hide(); 19 if (messageVal) { 20 $('.js-common-toast[data-toast-id="common-js-custom-msg"] p').html(messageVal); 21 $('.js-common-toast[data-toast-id="common-js-custom-msg"]').fadeIn(300); 22 } else { 23 $('.js-common-toast').fadeIn(300); 24 } 25 setTimeout(() => { 26 closeToast("common-js-custom-msg"); 27 }, 3000); 28} 29 30function closeToast(targetId) { 31 if ($('.js-common-toast').lenght < 1) 32 return; 33 if (targetId) { 34 $('.js-common-toast[data-toast-id="' + targetId + '"]').fadeOut(300); 35 } else { 36 $('.js-common-toast').fadeOut(300); 37 } 38} 39function openPopup(targetId) { 40 if(targetId) { 41 $('.js-common-popup[data-popup-id="' + targetId + '"]').fadeIn(300); 42 } else { 43 $('.js-common-popup').fadeIn(300); 44 } 45} 46 47function closePopup(targetId) { 48 if(targetId) { 49 $('.js-common-popup[data-popup-id="' + targetId + '"]').fadeOut(300); 50 } else { 51 $('.js-common-popup').fadeOut(300); 52 } 53}
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.