1(function($){ 2 $.fn.footerlink = function() { 3 var _this = this; 4 5 if($(window).width() > 992) { 6 _this.each(function(){ 7 $(this).find('.footer-link-content').removeClass('collapse').removeAttr('style'); 8 $(this).find('.footer-link-title > div').removeClass('item-extra-info'); 9 }); 10 } 11 12 $(window).on('resize', function(){ 13 if($(window).width() > 992) { 14 _this.each(function(){ 15 $(this).find('.footer-link-content').removeClass('collapse').removeAttr('style'); 16 $(this).find('.footer-link-title > div').removeClass('item-extra-info'); 17 }); 18 }else{ 19 _this.each(function(){ 20 $(this).find('.footer-link-content').addClass('collapse'); 21 $(this).find('.footer-link-title > div').addClass('item-extra-info'); 22 if($(this).find('.footer-link-content').hasClass('show')){ 23 $(this).find('.footer-link-content').show(); 24 } 25 }); 26 } 27 }); 28 } 29})(jQuery); 30 31$(document).ready(function(){ 32 //seo tooltips 33 $('#seo-title-2020 .tooltip-hover').vtooltips(); 34 35 //add collapse function to the links 36 $(".footer-links [data-toggle='collapse']").each(function () { 37 $(this).vcollapse({ 38 openFirstChild: false, 39 withIndicator: true, 40 }); 41 }); 42 43 //init footer JS 44 $('#footer-2020 .footer-links').footerlink(); 45 46 //custom select box 47 $('#footer-2020 .custom-select').each(function(){ 48 $(this).vcustomselect({ 49 borderRadius: true, 50 childPosition: 'bottom', 51 hasRedirect: true, 52 }); 53 }); 54 55 //backtotop button 56 $('.back-to-top').on('click', function(e){ 57 e.preventDefault(); 58 $('html, body').animate({ scrollTop: 0}, '300'); 59 }); 60 61 // Hide Download iOS & Android App Button from Native WebView 62 var standalone = window.navigator.standalone, 63 userAgent = window.navigator.userAgent.toLowerCase(), 64 safari = /safari/.test(userAgent), 65 ios = /iphone|ipod|ipad/.test(userAgent) || (/macintosh/.test(userAgent) && navigator.maxTouchPoints > 1); 66 67 if (ios) { 68 if (!standalone && safari) { 69 // iOS Safari 70 // intentionally left blank 71 } else if (!standalone && !safari) { 72 // iOS webview 73 $('.app-download-section').remove(); 74 }; 75 } else { 76 if (userAgent.includes('wv')) { 77 // Android webview 78 $('.app-download-section').remove(); 79 } else { 80 // Desktop browser 81 // intentionally left blank 82 } 83 }; 84});
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.