1/* 2* @author Przelewy24 3* @copyright Przelewy24 4* @license https://www.gnu.org/licenses/lgpl-3.0.en.html 5*/ 6 7/* Hide Apple Pay if not configured or not available. */ 8$(function() { 9 var hideById = function(id) { 10 /* There are different places and modes the payment can be displayed. */ 11 $('a.bank-box[data-id=' + id + ']').css('display', 'none'); 12 $('input[data-module-name=przelewy24-method-' + id + ']').parent().parent().parent().css('display', 'none'); 13 $('input#paymethod-bank-id-' + id).parent().css('display', 'none'); 14 } 15 16 var hasApplePay = window.ApplePaySession && window.ApplePaySession.canMakePayments(); 17 if (!hasApplePay) { 18 [ 19 232, 20 252, 21 253, 22 ].forEach(hideById); 23 } 24}); 25
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.