mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 23:27:46 -04:00
Add sliding animation
This commit is contained in:
parent
965804425d
commit
7d643fc539
1 changed files with 7 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue