User:Spineweilder/common.js

$(function {    $('.wds-global-navigation__search-toggle').off;    $('.wds-global-navigation__search-input').off('keydown blur');    $('#globalNavigation').addClass('wds-search-is-active'); }); window.addEventListener("scroll", function {   $(".wds-global-navigation").toggleClass("hideNav", $(".wds-global-navigation").offset.top > 50); });