aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/public.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/js/public.js')
-rw-r--r--apps/files_sharing/js/public.js18
1 files changed, 1 insertions, 17 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 4b3ede24389..1be51d4b688 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -423,20 +423,4 @@ $(document).ready(function () {
};
}
- $('#share-menutoggle').click(function() {
- $('#share-menu').toggleClass('open');
- });
-});
-
-
-$(document).mouseup(function(e) {
- var toggle = $('#share-menutoggle');
- var container = $('#share-menu');
-
- // if the target of the click isn't the menu toggle, nor a descendant of the
- // menu toggle, nor the container nor a descendant of the container
- if (!toggle.is(e.target) && toggle.has(e.target).length === 0 &&
- !container.is(e.target) && container.has(e.target).length === 0) {
- container.removeClass('open');
- }
-});
+}); \ No newline at end of file