Merge pull request #785 from nextcloud/stable10_779

[Stable10] Make 'Add to your website' toggleable
This commit is contained in:
Roeland Jago Douma 2016-08-09 15:47:52 +02:00 committed by GitHub
commit 3914861b90
1 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,11 @@ $(document).ready(function() {
}); });
$('#oca-files-sharing-add-to-your-website').click(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();
}
}); });
}); });