]> source.dussan.org Git - redmine.git/commitdiff
Revert r22671 due to incorrect issue number (#35192).
authorGo MAEDA <maeda@farend.jp>
Sat, 3 Feb 2024 00:48:43 +0000 (00:48 +0000)
committerGo MAEDA <maeda@farend.jp>
Sat, 3 Feb 2024 00:48:43 +0000 (00:48 +0000)
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22672 e93f8b46-1217-0410-a6f0-8f06a7374b81

public/javascripts/responsive.js

index f97ae0bbb3430004121dbb539e5753fe15002580..a07737795b8eb0e89a2842613e3ae4a0cc9d3139 100644 (file)
@@ -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');
 }