aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r--apps/files_sharing/js/public.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 31572f5ccf5..d95f6348ac0 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -56,6 +56,9 @@ $(document).ready(function() {
};
});
- $('#directLink').focus();
+ $(document).on('click', '#directLink', function() {
+ $(this).focus();
+ $(this).select();
+ });
});