From 7d643fc539e3604effd4816e3a9d5777799c1623 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 10 Aug 2016 09:17:14 +0200 Subject: [PATCH] Add sliding animation --- settings/js/authtoken_view.js | 9 +++++++-- 1 file 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(); + } } }); -- 2.39.5