Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-08-09 21:35:26 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-09 21:35:26 +0300
commitd538a412389bfdcc99a9db0b7ac9d8c915f39817 (patch)
tree9cf001225abc24abbb573bf1270b2152fcbf7665 /js
parentffa18cc7cab5d9b4f7388ba89b4d31c3f660ce13 (diff)
Slide in/out extra options
Diffstat (limited to 'js')
-rw-r--r--js/admin.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/js/admin.js b/js/admin.js
index cdb39ae4..bafe325f 100644
--- a/js/admin.js
+++ b/js/admin.js
@@ -115,6 +115,11 @@ $(function() {
break;
}
el.html(t('user_saml', text));
- nextSibling.toggleClass('hidden');
+
+ if (nextSibling.is(":visible")) {
+ nextSibling.slideUp();
+ } else {
+ nextSibling.slideDown();
+ }
});
});