User:Lito88/global.js

importArticles({   type: "script",    articles: [        'u:dev:MediaWiki:ViewRemoved/code.js',    ] }); (function {   setInterval(function { var oldScrollY = window.pageYOffset || document.documentElement.scrollTop; window.onscroll = function { var scrolled = window.pageYOffset || document.documentElement.scrollTop; var dY = scrolled - oldScrollY; if ( dY > 0 ){ $("#globalNavigation").slideUp(300); } else { $("#globalNavigation").slideDown(300); }       };    }, 1); });