summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-08-12 17:28:55 +0200
committerVincent Petry <pvince81@owncloud.com>2015-08-12 17:28:55 +0200
commitaac7c19ab7dd59772b3f6489013fe89540f7e5f2 (patch)
treee39a2d1c4a1e4d063dd603c266ed1befc8a60374 /core
parentd04a6bce6f81df4ee4351a311a630b14e8ecd8a3 (diff)
downloadnextcloud-server-aac7c19ab7dd59772b3f6489013fe89540f7e5f2.tar.gz
nextcloud-server-aac7c19ab7dd59772b3f6489013fe89540f7e5f2.zip
Fix showMenu animation callback
Diffstat (limited to 'core')
-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 89bb9a71430..a3fae3c5e28 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -642,7 +642,7 @@ var OC={
$menuEl.show();
$menuEl.trigger(new $.Event('afterShow'));
// no animation
- if (_.isFunction()) {
+ if (_.isFunction(complete)) {
complete();
}
},