1(function ($) { 2 "use strict"; 3 $.fn.mozaAccessibleDropDown = function () { 4 var el = $(this); 5 6 $("a", el).focus(function() { 7 $(this).parents("li").addClass("hover"); 8 }).blur(function() { 9 $(this).parents("li").removeClass("hover"); 10 }); 11 } 12 13 $(".menu-close").on('click', function(){ 14 $("a.slicknav_btn").removeClass("slicknav_open"); 15 $(".slicknav_nav").css("display", "none"); 16 }); 17 18 jQuery(document).ready(function($){ 19 $("#primary-menu").mozaAccessibleDropDown(); 20 // Mobile Menu 21 $("#primary-menu").slicknav({ 22 'allowParentLinks': true, 23 'prependTo': '.moza-responsive-menu', 24 'nestedParentLinks': false, 25 'closeOnClick': true, 26 }); 27 28 $(".masonry-post").masonry({ 29 horizontalOrder: true, 30 }); 31 32 $(".menu-close").focus(function() { 33 $("a.slicknav_open").focus(); 34 }); 35 }); 36}(jQuery));
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.