Browse Source

Make 'Add to your website' toggleable

pull/779/head
Roeland Jago Douma 9 years ago
parent
commit
d8e8096eba
No known key found for this signature in database GPG Key ID: 1E152838F164D13B
  1. 6
      apps/federatedfilesharing/js/settings-personal.js

6
apps/federatedfilesharing/js/settings-personal.js

@ -13,7 +13,11 @@ $(document).ready(function() {
});
$('#oca-files-sharing-add-to-your-website').click(function() {
$('#oca-files-sharing-add-to-your-website-expanded').slideDown();
if ($('#oca-files-sharing-add-to-your-website-expanded').is(':visible')) {
$('#oca-files-sharing-add-to-your-website-expanded').slideUp();
} else {
$('#oca-files-sharing-add-to-your-website-expanded').slideDown();
}
});
});
Loading…
Cancel
Save