From 6d8cd45b416955e123de9f03015cb28956af6947 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Sat, 18 Jan 2014 20:09:02 -0700 Subject: [PATCH] Ooops, didn't see that~ --- builds/appchan-x.user.js | 3 +-- builds/crx/script.js | 3 +-- src/General/Navigate.coffee | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 0e3899e69..1133bb00e 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -15819,9 +15819,8 @@ if (Conf["NSFW/SFW Themes"]) { Main.setThemeString(); theme = Themes[Conf[g.THEMESTRING] || (sfw ? 'Yotsuba B' : 'Yotsuba')] || Themes[Conf[g.THEMESTRING] = sfw ? 'Yotsuba B' : 'Yotsuba']; - Style.setTheme(theme); + return Style.setTheme(theme); } - return Main.setClass(); }, updateTitle: function(_arg) { var board, subtitle, title; diff --git a/builds/crx/script.js b/builds/crx/script.js index 311117af9..3934954e1 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -15814,9 +15814,8 @@ if (Conf["NSFW/SFW Themes"]) { Main.setThemeString(); theme = Themes[Conf[g.THEMESTRING] || (sfw ? 'Yotsuba B' : 'Yotsuba')] || Themes[Conf[g.THEMESTRING] = sfw ? 'Yotsuba B' : 'Yotsuba']; - Style.setTheme(theme); + return Style.setTheme(theme); } - return Main.setClass(); }, updateTitle: function(_arg) { var board, subtitle, title; diff --git a/src/General/Navigate.coffee b/src/General/Navigate.coffee index c73ce4790..68a12a593 100644 --- a/src/General/Navigate.coffee +++ b/src/General/Navigate.coffee @@ -166,8 +166,6 @@ Navigate = theme = Themes[Conf[g.THEMESTRING] or if sfw then 'Yotsuba B' else 'Yotsuba'] or Themes[Conf[g.THEMESTRING] = if sfw then 'Yotsuba B' else 'Yotsuba'] Style.setTheme theme - Main.setClass() - updateTitle: ({board, title}) -> $.rm subtitle if subtitle = $ '.boardSubtitle' $('.boardTitle').textContent = d.title = "/#{board}/ - #{title}"