Ooops, didn't see that~

This commit is contained in:
Zixaphir 2014-01-18 20:09:02 -07:00
parent 4a2249d0ec
commit 6d8cd45b41
3 changed files with 2 additions and 6 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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}"