aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/jquery/contactsmenu.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/jquery/contactsmenu.js')
-rw-r--r--core/src/jquery/contactsmenu.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/jquery/contactsmenu.js b/core/src/jquery/contactsmenu.js
index ee708dcf982..50d256ff3f8 100644
--- a/core/src/jquery/contactsmenu.js
+++ b/core/src/jquery/contactsmenu.js
@@ -65,8 +65,8 @@ $.fn.contactsMenu = function(shareWith, shareType, appendTo) {
$.ajax(OC.generateUrl('/contactsmenu/findOne'), {
method: 'POST',
data: {
- shareType: shareType,
- shareWith: shareWith,
+ shareType,
+ shareWith,
},
}).then(function(data) {
$list.find('ul').find('li').addClass('hidden')
@@ -98,7 +98,7 @@ $.fn.contactsMenu = function(shareWith, shareType, appendTo) {
const template = entryTemplate
$list.find('ul').append(template({
hyperlink: '#',
- title: title,
+ title,
}))
})
})