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:
Go MAEDA
2024-02-03 00:52:22 +00:00
parent 9dc0bfa9bf
commit dcae77a006

View File

@@ -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');
}