63
edits
No edit summary |
(remove wg.darkmode load that doesn't exist.) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 98: | Line 98: | ||
if (currentReader) { | if (currentReader) { | ||
$('body').addClass('wgl-readermode'); | |||
mw.util.addPortletLink( | mw.util.addPortletLink( | ||
'p-namespaces', | 'p-namespaces', | ||
| Line 317: | Line 318: | ||
if (darkc === true) { | if (darkc === true) { | ||
$('body').addClass('wgl-darkmode') | $('body').addClass('wgl-darkmode') | ||
$('body').removeClass('wgl-lightmode') | $('body').removeClass('wgl-lightmode') | ||
} else { | } else { | ||
$('body').addClass('wgl-lightmode') | $('body').addClass('wgl-lightmode') | ||