1(function ($, Drupal, drupalSettings) { 2 'use strict'; 3 Drupal.behaviors.ax_menu = { 4 attach: function (context, settings) { 5 $('.we-mega-menu-li').focusin(function(){ 6 $(this).addClass('tabbed-open'); 7 $(this).children().first('a.we-mega-menu-li').attr({'aria-haspopup':'true','aria-expanded':'true'}); 8 $('li.we-mega-menu-li').not(this).each(function(){ 9 $(this).removeClass('tabbed-open'); 10 $(this).children().first('a.we-mega-menu-li').attr({'aria-haspopup':'false','aria-expanded':'false'}); 11 }); 12 }); 13 $('.navbar-we-mega-menu').focusout( function() { 14 $('li.we-mega-menu-li').removeClass('tabbed-open'); 15 $('a.we-mega-menu-li').attr({'aria-haspopup':'false','aria-expanded':'false'}); 16 }); 17 } 18 } 19})(jQuery, Drupal, drupalSettings);
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.