Open main menu
Home
Random
Log in
Settings
About Drawn to Life Wiki
Disclaimers
Drawn to Life Wiki
Search
Changes
← Older edit
Newer edit →
MediaWiki:Timeless.js
(view source)
Revision as of 06:20, 29 May 2021
36 bytes added
,
06:20, 29 May 2021
no edit summary
Line 74:
Line 74:
if ( didScroll ) {
if ( didScroll ) {
didScroll = false;
didScroll = false;
+
var $el;
//Same that all the if else statements
//Same that all the if else statements
switch (true) {
switch (true) {
case (scroll >= 100):
case (scroll >= 100):
−
$('#mw-header-container
').addClass('headerblur
');
+
$el =
$('#mw-header-container');
break;
break;
}
}
+
$el.addClass('headerblur');
}
}
}, 50);
}, 50);
BakiDance
Bureaucrats
, content-mod,
Forum administrators
,
Interface administrators
, staff,
Suppressors
,
Administrators
6,234
edits