From aac7c19ab7dd59772b3f6489013fe89540f7e5f2 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 12 Aug 2015 17:28:55 +0200 Subject: [PATCH] Fix showMenu animation callback --- core/js/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } },