diff --git a/apps/files_sharing/js/settings-personal.js b/apps/files_sharing/js/settings-personal.js index 800579d1ec..1c7aea0b9d 100644 --- a/apps/files_sharing/js/settings-personal.js +++ b/apps/files_sharing/js/settings-personal.js @@ -1,6 +1,6 @@ $(document).ready(function() { - $('#fileSharingSettings img').click(function() { + $('#fileSharingSettings button.pop-up').click(function() { var url = $(this).data('url'); if (url) { var width = 600; diff --git a/apps/files_sharing/templates/settings-personal.php b/apps/files_sharing/templates/settings-personal.php index 8703352e02..c6bb1474c8 100644 --- a/apps/files_sharing/templates/settings-personal.php +++ b/apps/files_sharing/templates/settings-personal.php @@ -20,24 +20,26 @@ style('files_sharing', '3rdparty/gs-share/style');
t('Share it:')); ?> -