Add sliding animation
This commit is contained in:
parent
965804425d
commit
7d643fc539
|
@ -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 New Issue