diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-19 18:37:55 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-11-18 12:10:50 +0100 |
commit | cc33f8695bdbbb2869608a78f9fb298eddc8929b (patch) | |
tree | 6d1bd6f45bd56e99b7760d2c748729c5e50a9e0c /core/js/js.js | |
parent | 6c3f0fd431c8e2dfa79a421c878bb5d15a42c1d5 (diff) | |
download | nextcloud-server-cc33f8695bdbbb2869608a78f9fb298eddc8929b.tar.gz nextcloud-server-cc33f8695bdbbb2869608a78f9fb298eddc8929b.zip |
Make sure it is a function
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index f498ed751c0..efdb36187cd 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1574,7 +1574,7 @@ OC.PasswordConfirmation = { self.$form.addClass('hidden'); self.$background.addClass('hidden'); - if (!_.isUndefined(self.callback)) { + if (_.isFunction(self.callback)) { self.callback(); } }, |