Ooops, didn't see that~
This commit is contained in:
parent
4a2249d0ec
commit
6d8cd45b41
@ -15819,9 +15819,8 @@
|
|||||||
if (Conf["NSFW/SFW Themes"]) {
|
if (Conf["NSFW/SFW Themes"]) {
|
||||||
Main.setThemeString();
|
Main.setThemeString();
|
||||||
theme = Themes[Conf[g.THEMESTRING] || (sfw ? 'Yotsuba B' : 'Yotsuba')] || Themes[Conf[g.THEMESTRING] = sfw ? 'Yotsuba B' : 'Yotsuba'];
|
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) {
|
updateTitle: function(_arg) {
|
||||||
var board, subtitle, title;
|
var board, subtitle, title;
|
||||||
|
|||||||
@ -15814,9 +15814,8 @@
|
|||||||
if (Conf["NSFW/SFW Themes"]) {
|
if (Conf["NSFW/SFW Themes"]) {
|
||||||
Main.setThemeString();
|
Main.setThemeString();
|
||||||
theme = Themes[Conf[g.THEMESTRING] || (sfw ? 'Yotsuba B' : 'Yotsuba')] || Themes[Conf[g.THEMESTRING] = sfw ? 'Yotsuba B' : 'Yotsuba'];
|
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) {
|
updateTitle: function(_arg) {
|
||||||
var board, subtitle, title;
|
var board, subtitle, title;
|
||||||
|
|||||||
@ -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']
|
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
|
Style.setTheme theme
|
||||||
|
|
||||||
Main.setClass()
|
|
||||||
|
|
||||||
updateTitle: ({board, title}) ->
|
updateTitle: ({board, title}) ->
|
||||||
$.rm subtitle if subtitle = $ '.boardSubtitle'
|
$.rm subtitle if subtitle = $ '.boardSubtitle'
|
||||||
$('.boardTitle').textContent = d.title = "/#{board}/ - #{title}"
|
$('.boardTitle').textContent = d.title = "/#{board}/ - #{title}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user