From d8bc0616e802481efc247dc9906d895a07232dc2 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Sat, 11 Jan 2014 11:00:04 -0700 Subject: [PATCH] Strings y'all --- builds/4chan-X.user.js | 2 +- builds/crx/script.js | 2 +- src/General/Navigate.coffee | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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]}'"