aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/OC/contactsmenu.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/src/OC/contactsmenu.js b/core/src/OC/contactsmenu.js
index b915a3f160c..c5a9cfcef7a 100644
--- a/core/src/OC/contactsmenu.js
+++ b/core/src/OC/contactsmenu.js
@@ -83,6 +83,9 @@ const ContactsListView = View.extend({
/** @type {array} */
_subViews: [],
+ /** @type {string} */
+ tagName: 'ul',
+
/**
* @param {object} options
* @returns {undefined}
@@ -98,7 +101,6 @@ const ContactsListView = View.extend({
var self = this
self.$el.html('')
self._subViews = []
-
self._collection.forEach(function(contact) {
var item = new ContactsListItemView({
model: contact
@@ -134,6 +136,9 @@ const ContactsListItemView = View.extend({
/** @type {string} */
className: 'contact',
+ /** @type {string} */
+ tagName: 'li',
+
/** @type {undefined|function} */
_template: undefined,