diff options
author | Go MAEDA <maeda@farend.jp> | 2024-02-03 00:51:09 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-02-03 00:51:09 +0000 |
commit | fefcb32dea33ab66aabad8e6b2c5ce8a1ed89ebe (patch) | |
tree | 7114feef81281538797d13e080f847615c6546d8 | |
parent | 8f5570ab781d93f8e88b264a9c156a5f0d0da8b6 (diff) | |
download | redmine-fefcb32dea33ab66aabad8e6b2c5ce8a1ed89ebe.tar.gz redmine-fefcb32dea33ab66aabad8e6b2c5ce8a1ed89ebe.zip |
Merged r22670 from trunk to 5.1-stable (#39802).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22673 e93f8b46-1217-0410-a6f0-8f06a7374b81
-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'); } |