summaryrefslogtreecommitdiffstats
path: root/core/js/share.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/share.js')
-rw-r--r--core/js/share.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 99a767b47f2..f1652370d35 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -503,7 +503,7 @@ OC.Share={
.append( insert )
.appendTo( ul );
};
- if (link) {
+ if (link && linksAllowed) {
$('#email').autocomplete({
minLength: 1,
source: function (search, response) {