summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-02-03 00:48:43 +0000
committerGo MAEDA <maeda@farend.jp>2024-02-03 00:48:43 +0000
commit8f5570ab781d93f8e88b264a9c156a5f0d0da8b6 (patch)
treead42d003f4400b943b1e2608a6e43d34fc316473 /public
parent057a988283a90b38ccf131d6a8814549f1864135 (diff)
downloadredmine-8f5570ab781d93f8e88b264a9c156a5f0d0da8b6.tar.gz
redmine-8f5570ab781d93f8e88b264a9c156a5f0d0da8b6.zip
Revert r22671 due to incorrect issue number (#35192).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22672 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/responsive.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/javascripts/responsive.js b/public/javascripts/responsive.js
index f97ae0bbb..a07737795 100644
--- a/public/javascripts/responsive.js
+++ b/public/javascripts/responsive.js
@@ -2,7 +2,7 @@
function openFlyout() {
$('html').addClass('flyout-is-active');
- $('#main, #header').on('click.close-flyout', function(e){
+ $('#main').on('click', function(e){
e.preventDefault();
e.stopPropagation();
closeFlyout();
@@ -11,7 +11,7 @@ function openFlyout() {
function closeFlyout() {
$('html').removeClass('flyout-is-active');
- $('#main, #header').off('click.close-flyout');
+ $('#wrapper').off('click');
}