Browse Source

Add sliding animation

pull/806/head
Roeland Jago Douma 10 years ago
parent
commit
7d643fc539
No known key found for this signature in database GPG Key ID: 1E152838F164D13B
  1. 9
      settings/js/authtoken_view.js

9
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();
}
}
});

Loading…
Cancel
Save