aboutsummaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-02-22 09:59:48 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-03-04 14:12:29 +0100
commit72861f2dfbe68c43b05eb00b696ed9129d513b7f (patch)
treea8d3e0295358fb827797926c5c50ac595ffca49e /core/js
parent15a3caedc09c33b8c3037153a4316076715ffb76 (diff)
downloadnextcloud-server-72861f2dfbe68c43b05eb00b696ed9129d513b7f.tar.gz
nextcloud-server-72861f2dfbe68c43b05eb00b696ed9129d513b7f.zip
Use correct variables
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 3cdaab0cde9..3c6ababf764 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -699,7 +699,7 @@ var OCP = {},
}
if (headerMenu === true) {
- $(event.currentTarget).parent().addClass('openedMenu');
+ $menuEl.parent().addClass('openedMenu');
}
$menuEl.slideToggle(OC.menuSpeed, toggle);