ElEditors, Interface administrators, Administrators
70,888
edits
No edit summary |
No edit summary |
||
Line 187: | Line 187: | ||
if (getCookie('elwiki-dark-mode') == 'true') $('body').addClass('dark-mode'); | if (getCookie('elwiki-dark-mode') == 'true') $('body').addClass('dark-mode'); | ||
if (getCookie('not-new') == null) $('#dark-mode-switch').addClass('new'); | if (getCookie('not-new') == null) $('#dark-mode-switch').addClass('new'); | ||
// This is pretty cringe, tabs don't load sometimes | |||
if (!$('.tabber-new.loaded').length) mw.loader.load('https://elwiki.net/wiki/index.php?title=MediaWiki:Gadget-Tabs.js&action=raw&ctype=text/javascript') | |||
} | } | ||