Toggle header autohiding with its border on mousedown instead of click.

This commit is contained in:
Nicolas Stepien 2013-03-27 17:26:26 +01:00
parent 0ee02ba7b0
commit 178fed05a4

View File

@ -20,7 +20,7 @@ Header =
@menu = new UI.Menu 'header'
$.on $('.menu-button', @bar), 'click', @menuToggle
$.on @toggle, 'click', @toggleBarVisibility
$.on @toggle, 'mousedown', @toggleBarVisibility
catalogToggler = $.el 'label',
innerHTML: "<input type=checkbox #{if Conf['Header catalog links'] then 'checked' else ''}> Use catalog board links"