mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +00:00
Fix click event handling in mobile view after closing flyout menu (#39802).
Patch by salman mp (@salmanmp) and Mizuki ISHIKAWA (@ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@22670 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
164153e819
commit
120be1bfa4
@ -8,7 +8,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();
|
||||
@ -17,7 +17,7 @@ function openFlyout() {
|
||||
|
||||
function closeFlyout() {
|
||||
$('html').removeClass('flyout-is-active');
|
||||
$('#wrapper').off('click');
|
||||
$('#main, #header').off('click.close-flyout');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user