Ad placeholder

User:MetalManeMc/vector.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Tag: Manual revert
Line 8: Line 8:
;(function($, mw){
;(function($, mw){
var DARK_COOKIE = 'darkmode',
var DARK_COOKIE = 'darkmode',
THEME_COOKIE = 'current_theme',
THEME_COOKIE = 'theme',
isUsingDarkmode = $.cookie(THEME_COOKIE) === 'dark' || ($.cookie(THEME_COOKIE) == null && $.cookie(DARK_COOKIE) === 'true'),
isUsingDarkmode = $.cookie(THEME_COOKIE) === 'dark' || ($.cookie(THEME_COOKIE) == null && $.cookie(DARK_COOKIE) === 'true'),
portletLink;
portletLink;

Navigation menu