mirror of
https://github.com/redmine/redmine.git
synced 2026-01-27 01:39:58 +01:00
Merged r22670 from trunk to 5.0-stable (#39802).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22674 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
function openFlyout() {
|
||||
$('html').addClass('flyout-is-active');
|
||||
$('#main').on('click', function(e){
|
||||
$('#main, #header').on('click.close-flyout', function(e){
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
closeFlyout();
|
||||
@@ -11,7 +11,7 @@ function openFlyout() {
|
||||
|
||||
function closeFlyout() {
|
||||
$('html').removeClass('flyout-is-active');
|
||||
$('#wrapper').off('click');
|
||||
$('#main, #header').off('click.close-flyout');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user