Fix header autohide state when turning off 'Auto-hide header on scroll' with 'Auto-hide header' on.
This commit is contained in:
parent
597ce02c50
commit
394812b2df
@ -360,7 +360,7 @@ Header =
|
|||||||
return
|
return
|
||||||
$.off window, 'scroll', Header.hideBarOnScroll
|
$.off window, 'scroll', Header.hideBarOnScroll
|
||||||
$.rmClass Header.bar, 'scroll'
|
$.rmClass Header.bar, 'scroll'
|
||||||
$.rmClass Header.bar, 'autohide' unless Conf['Header auto-hide']
|
Header.bar.classList.toggle 'autohide', Conf['Header auto-hide']
|
||||||
|
|
||||||
toggleHideBarOnScroll: ->
|
toggleHideBarOnScroll: ->
|
||||||
hide = @checked
|
hide = @checked
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user