User:Thefreeman500/common.js

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