Add sliding animation
This commit is contained in:
parent
79b7ff3bf8
commit
0727f4e372
|
@ -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