diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-10 09:17:14 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-10 09:17:14 +0200 |
commit | 7d643fc539e3604effd4816e3a9d5777799c1623 (patch) | |
tree | 6e4a21348b5c586a1a28462af17d56c71d56e642 | |
parent | 965804425dd13ec9d7d2f5edbfbd62ed6939b12e (diff) | |
download | nextcloud-server-7d643fc539e3604effd4816e3a9d5777799c1623.tar.gz nextcloud-server-7d643fc539e3604effd4816e3a9d5777799c1623.zip |
Add sliding animation
-rw-r--r-- | settings/js/authtoken_view.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/settings/js/authtoken_view.js b/settings/js/authtoken_view.js index 03d6c188f6e..6eb04b63f20 100644 --- a/settings/js/authtoken_view.js +++ b/settings/js/authtoken_view.js @@ -354,8 +354,13 @@ }, _toggleFormResult: function (showForm) { - this._form.toggleClass('hidden', !showForm); - this._result.toggleClass('hidden', showForm); + if (showForm) { + this._result.slideUp(); + this._form.slideDown(); + } else { + this._form.slideUp(); + this._result.slideDown(); + } } }); |