https://faithwardadvisors.com/wp-content/themes/ambass_advise/assets/js/mmenu-init.js?ver=1791145859
1/************************************************************************************* 2 * Table of Contents 3 # mmenu 4 * 5*************************************************************************************/ 6 7/************************************************************************************* 8 # Global 9*************************************************************************************/ 10 11var $ = jQuery; 12 13/************************************************************************************* 14 # Doc Ready 15*************************************************************************************/ 16 17$(document).ready(function() { 18 mmenu(); 19}); 20 21/************************************************************************************* 22 # mmenu 23*************************************************************************************/ 24 25function mmenu() { 26 var $logo = $('.navbar-main__logo').attr('src'); 27 var $menu = $("#mobile-menu").mmenu({ 28 // options 29 "extensions": [ 30 "fx-menu-zoom", 31 "position-right", 32 "pagedim-black" 33 34 ], 35 "pageScroll": true, 36 "navbar": { 37 "title": "<a href='/'><img class='img-fluid' src='"+$logo+"'></a>" 38 }, 39 }, 40 { 41 // configuration 42 offCanvas: { 43 pageSelector: "#wrapper" 44 }, 45 clone: true 46 }); 47 48 var $icon = $(".hamburger--elastic"); 49 50 var API = $menu.data( "mmenu" ); 51 52 $icon.on( "click", function() { 53 API.open(); 54 }); 55 56 API.bind( "open:finish", function() { 57 setTimeout(function() { 58 $(".hamburger--elastic").addClass( "is-active" ); 59 }, 100); 60 }); 61 API.bind( "close:finish", function() { 62 setTimeout(function() { 63 $(".hamburger--elastic").removeClass( "is-active" ); 64 }, 100); 65 66 }); 67}
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.