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
committerLukas Reschke <lukas@statuscode.ch>2016-08-09 21:49:58 +0300
commit3c35f5c864a5e1bb1ca24e4b69747a9dd5938787 (patch)
tree6b2b082ff411445d4e6fb1f383132a822c81adeb /js
parentb748ed3a172e00199cdfc326407d6575fb94fd8f (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();
+ }
});
});