diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 27ca13d90..c4016bcf3 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -12037,7 +12037,7 @@ style = d.cookie.match(new RegExp("" + type + "\_style\=([^;]+)")); return [(style ? style[1] : base), "" + type + "_style"]; }; - style = findStyle(sfw ? [ws, 'Yotsuba B New'] : [nws, 'Yotsuba New']); + style = findStyle(sfw ? ['ws', 'Yotsuba B New'] : ['nws', 'Yotsuba New']); $.globalEval("var style_group = '" + style[1] + "'"); mainStyleSheet = $('link[title=switch]', d.head); newStyleSheet = $("link[title='" + style[0] + "']", d.head); diff --git a/builds/crx/script.js b/builds/crx/script.js index 3b58a2a6a..aa85cfa92 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -12026,7 +12026,7 @@ style = d.cookie.match(new RegExp("" + type + "\_style\=([^;]+)")); return [(style ? style[1] : base), "" + type + "_style"]; }; - style = findStyle(sfw ? [ws, 'Yotsuba B New'] : [nws, 'Yotsuba New']); + style = findStyle(sfw ? ['ws', 'Yotsuba B New'] : ['nws', 'Yotsuba New']); $.globalEval("var style_group = '" + style[1] + "'"); mainStyleSheet = $('link[title=switch]', d.head); newStyleSheet = $("link[title='" + style[0] + "']", d.head); diff --git a/src/General/Navigate.coffee b/src/General/Navigate.coffee index df7fb141c..5d5e4bc42 100644 --- a/src/General/Navigate.coffee +++ b/src/General/Navigate.coffee @@ -141,9 +141,9 @@ Navigate = return [(if style then style[1] else base), "#{type}_style"] style = findStyle if sfw - [ws, 'Yotsuba B New'] + ['ws', 'Yotsuba B New'] else - [nws, 'Yotsuba New'] + ['nws', 'Yotsuba New'] $.globalEval "var style_group = '#{style[1]}'"