✏️ 正在编辑: paypal-info.js
路径:
/home/bpioifn/www/pigmentse/modules/paypal/views/js/paypal-info.js
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
/*! For license information please see paypal-info.js.LICENSE.txt */ (()=>{$(document).ready((function(){$(".payment-option").each((function(o){var a=o+1;if($("#payment-option-".concat(a,"-container [data-module-name^='paypal']")).length>0){var n=$("#payment-option-".concat(a,"-additional-information [data-paypal-info]"));if(n.length>0){var e=document.querySelector("[data-pp-info]");e instanceof Element&&(n.find("[data-paypal-info-popover]").attr("data-content",e.outerHTML),e.remove()),n.insertAfter($("#payment-option-".concat(a,"-container label"))),n.show()}}}));try{var n=o();$("[data-paypal-info-popover]").popover({placement:n.popoverPlacement,trigger:n.popoverTrigger})}catch(o){console.error(o)}$(window).width()>991&&a()}));var o=function(){var o="right",a="hover";return $(window).width()<992&&(o="bottom",a="click"),{popoverPlacement:o,popoverTrigger:a}},a=function(){$("[data-paypal-info-popover] i").on("mouseover",(function(o){o.target.innerText="cancel",$("body").addClass("pp-popover")})),$("[data-paypal-info-popover] i").on("mouseout",(function(o){o.target.innerText="info",$("[data-pp-info]").is(":visible")||$("body").removeClass("pp-popover")})),$("[data-paypal-info-popover] i").on("click",(function(o){hidePopup($(o.target))}))}})(); //# sourceMappingURL=paypal-info.js.map
💾 保存文件
← 返回文件管理器