Fix #432
For the time being, Mascots have been removed from all none-board pages (excluding Catalog, which is *technically* a board page, and can already be changed at the users discretion)
This commit is contained in:
parent
718c525edc
commit
162f125e43
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,5 @@
|
|||||||
Main =
|
Main =
|
||||||
init: ->
|
init: ->
|
||||||
|
|
||||||
# flatten Config into Conf
|
# flatten Config into Conf
|
||||||
# and get saved or default values
|
# and get saved or default values
|
||||||
flatten = (parent, obj) ->
|
flatten = (parent, obj) ->
|
||||||
@ -46,10 +45,6 @@ Main =
|
|||||||
<% } %>
|
<% } %>
|
||||||
Main.initFeatures()
|
Main.initFeatures()
|
||||||
|
|
||||||
$.on d, '4chanMainInit', Main.initStyle
|
|
||||||
$.asap (-> d.head and $('link[rel="shortcut icon"]', d.head) or d.readyState isnt 'loading'),
|
|
||||||
Main.initStyle
|
|
||||||
|
|
||||||
initFeatures: ->
|
initFeatures: ->
|
||||||
|
|
||||||
pathname = location.pathname.split '/'
|
pathname = location.pathname.split '/'
|
||||||
@ -85,7 +80,7 @@ Main =
|
|||||||
return if g.BOARD.ID in ['z', 'fk'] then Style.init()
|
return if g.BOARD.ID in ['z', 'fk'] then Style.init()
|
||||||
|
|
||||||
switch location.hostname
|
switch location.hostname
|
||||||
when '4chan.org'
|
when '4chan.org', 'www.4chan.org'
|
||||||
g.VIEW = 'home'
|
g.VIEW = 'home'
|
||||||
Style.init()
|
Style.init()
|
||||||
return
|
return
|
||||||
|
|||||||
@ -2203,7 +2203,7 @@ article li {
|
|||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
.yuimenuitem,
|
.yuimenuitem,
|
||||||
.boxcontent li {
|
.boxcontent ul > li {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
.boxbar {
|
.boxbar {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user