1jQuery(document).ready(function ($) { 2 /** 3 * Checks if body class exists 4 */ 5 if ($('.et_divi_100_custom_hamburger_menu').length > 0) { 6 var iconName = 'et_divi_100_custom_hamburger_menu__icon', 7 toggledName = iconName + '--toggled'; 8 9 /** 10 * Appends hamburger bars to menu 11 */ 12 $(".mobile_menu_bar") 13 .addClass(iconName) 14 .html('<div></div><div></div><div></div>'); 15 16 /** 17 * Handle click event 18 */ 19 $('.' + iconName).on('click', function (e) { 20 e.preventDefault(); 21 $('.' + iconName).toggleClass(toggledName); 22 }); 23 } 24});
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.