1/* 2 * AIT WordPress Theme 3 * 4 * Copyright (c) 2012, Affinity Information Technology, s.r.o. (http://ait-themes.com) 5 */ 6/* Main Initialization Hook */ 7jQuery(document).ready(function(){ 8 gm_authFailure = function(){ 9 var apiBanner = document.createElement('div'); 10 var a = document.createElement('a'); 11 var linkText = document.createTextNode("Read more"); 12 a.appendChild(linkText); 13 a.title = "Read more"; 14 a.href = "https://www.ait-themes.club/knowledge-base/google-maps-api-error/"; 15 a.target = "_blank"; 16 17 apiBanner.className = "alert alert-info"; 18 var bannerText = document.createTextNode("Please check Google API key settings"); 19 apiBanner.appendChild(bannerText); 20 apiBanner.appendChild(document.createElement('br')); 21 apiBanner.appendChild(a); 22 23 jQuery(".google-map-container").html(apiBanner); 24 }; 25 26 "use strict"; 27 28 /* menu.js initialization */ 29 desktopMenu(); 30 responsiveMenu(); 31 ipadMenuFix(); 32 /* menu.js initialization */ 33 34 /* portfolio-item.js initialization */ 35 portfolioSingleToggles(); 36 /* portfolio-item.js initialization */ 37 38 /* custom.js initialization */ 39 renameUiClasses(); 40 removeUnwantedClasses(); 41 42 initWPGallery(); 43 initColorbox(); 44 initRatings(); 45 initInfieldLabels(); 46 initSelectBox(); 47 48 notificationClose(); 49 /* custom.js initialization */ 50 51 /* Theme Dependent FIX Functions */ 52 53 /* Theme Dependent FIX Functions */ 54}); 55/* Main Initialization Hook */ 56 57/* Theme Dependenent Fix Functions */ 58function ipadMenuFix(){ 59 if(isIpad()){ 60 jQuery('.menu-container').on('click', function(e){ return true; }); 61 } 62} 63/* Theme Dependenent Fix Function */
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.