Don't change CSS class of body. #290
This commit is contained in:
parent
a557b973dd
commit
f8d0939953
@ -343,19 +343,16 @@ Header =
|
|||||||
args = if bottom then [
|
args = if bottom then [
|
||||||
'bottom-header'
|
'bottom-header'
|
||||||
'top-header'
|
'top-header'
|
||||||
'bottom'
|
|
||||||
'after'
|
'after'
|
||||||
] else [
|
] else [
|
||||||
'top-header'
|
'top-header'
|
||||||
'bottom-header'
|
'bottom-header'
|
||||||
'top'
|
|
||||||
'add'
|
'add'
|
||||||
]
|
]
|
||||||
|
|
||||||
$.addClass doc, args[0]
|
$.addClass doc, args[0]
|
||||||
$.rmClass doc, args[1]
|
$.rmClass doc, args[1]
|
||||||
Header.bar.parentNode.className = args[2]
|
$[args[2]] Header.bar, Header.noticesRoot
|
||||||
$[args[3]] Header.bar, Header.noticesRoot
|
|
||||||
|
|
||||||
toggleBarPosition: ->
|
toggleBarPosition: ->
|
||||||
$.cb.checked.call @
|
$.cb.checked.call @
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user