mirror of https://github.com/xwiki-labs/cryptpad
code elements as list components #1193
This commit is contained in:
parent
ca8e58b34a
commit
57b0fe8fa1
|
@ -477,7 +477,7 @@ define([
|
|||
created++;
|
||||
}
|
||||
if (team.empty) {
|
||||
var createTeamDiv = h('div.cp-team-list-team.empty'+createCls,{
|
||||
var createTeamDiv = h('li.cp-team-list-team.empty'+createCls,{
|
||||
tabindex: '0'
|
||||
}, [
|
||||
h('span.cp-team-list-name.empty', Messages.team_listSlot),
|
||||
|
@ -494,7 +494,7 @@ define([
|
|||
return;
|
||||
}
|
||||
var avatar = h('span.cp-avatar');
|
||||
var teamDiv = h('div.cp-team-list-team',{
|
||||
var teamDiv = h('li.cp-team-list-team',{
|
||||
tabindex: '0'
|
||||
}, [
|
||||
h('span.cp-team-list-avatar', avatar),
|
||||
|
@ -514,7 +514,7 @@ define([
|
|||
}
|
||||
});
|
||||
});
|
||||
content.push(h('div.cp-team-list-container', list));
|
||||
content.push(h('ul.cp-team-list-container', list));
|
||||
cb(content);
|
||||
});
|
||||
return content;
|
||||
|
|
Loading…
Reference in New Issue