summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2021-11-02 22:01:58 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2021-11-02 22:01:58 +0000
commit7b9f5af952ba9396b47408234db2a4a4c860948c (patch)
tree77394675f1190c3dc144949abe5cc1187b80681c /public
parent1ef0e03d91162892b51c41a51d7c83a55699b21d (diff)
downloadredmine-7b9f5af952ba9396b47408234db2a4a4c860948c.tar.gz
redmine-7b9f5af952ba9396b47408234db2a4a4c860948c.zip
Close the flyout menu only when clicking on main (#30448).
git-svn-id: http://svn.redmine.org/redmine/trunk@21268 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/responsive.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/responsive.js b/public/javascripts/responsive.js
index 0bc5c3452..a07737795 100644
--- a/public/javascripts/responsive.js
+++ b/public/javascripts/responsive.js
@@ -2,7 +2,7 @@
function openFlyout() {
$('html').addClass('flyout-is-active');
- $('#wrapper').on('click', function(e){
+ $('#main').on('click', function(e){
e.preventDefault();
e.stopPropagation();
closeFlyout();