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
|
||||
$.off window, 'scroll', Header.hideBarOnScroll
|
||||
$.rmClass Header.bar, 'scroll'
|
||||
$.rmClass Header.bar, 'autohide' unless Conf['Header auto-hide']
|
||||
Header.bar.classList.toggle 'autohide', Conf['Header auto-hide']
|
||||
|
||||
toggleHideBarOnScroll: ->
|
||||
hide = @checked
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user