git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22672
e93f8b46-1217-0410-a6f0-
8f06a7374b81
function openFlyout() {
$('html').addClass('flyout-is-active');
- $('#main, #header').on('click.close-flyout', function(e){
+ $('#main').on('click', function(e){
e.preventDefault();
e.stopPropagation();
closeFlyout();
function closeFlyout() {
$('html').removeClass('flyout-is-active');
- $('#main, #header').off('click.close-flyout');
+ $('#wrapper').off('click');
}