diff options
author | Go MAEDA <maeda@farend.jp> | 2024-02-03 00:52:22 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-02-03 00:52:22 +0000 |
commit | dcae77a006e4ab11b01cd4038d7ef98d4f5d371e (patch) | |
tree | 399e3ae93d84e92fd7843dbd4ce426a3c39da276 /public | |
parent | 9dc0bfa9bf4be310f6ce6e1038d858bd1236fc80 (diff) | |
download | redmine-dcae77a006e4ab11b01cd4038d7ef98d4f5d371e.tar.gz redmine-dcae77a006e4ab11b01cd4038d7ef98d4f5d371e.zip |
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
Diffstat (limited to 'public')
-rw-r--r-- | public/javascripts/responsive.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/javascripts/responsive.js b/public/javascripts/responsive.js index a07737795..f97ae0bbb 100644 --- a/public/javascripts/responsive.js +++ b/public/javascripts/responsive.js @@ -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'); } |