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