User:ParaNorman Bates/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:ViewRemoved/code.js',    ] }); /*******************************************************************************/ importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:View Source/code.js',    ] }); /********************************************************************************/ (function{ var prevY = 0; $(window).on('scroll', function (e) { var posY = $(window).scrollTop; if (prevY < posY) { $('.wds-global-navigation-wrapper').hide } else { $('.wds-global-navigation-wrapper').show }; prevY = $(window).scrollTop; }); });