Mercurial > xmpp-account-manager
diff roster.js @ 38:c2e2b107c7c1
Commit changes from the July 2019 Lyon sprint.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 23 May 2020 17:59:09 +0200 |
parents | 45bd945c5722 |
children | af2874ff7234 |
line wrap: on
line diff
--- a/roster.js +++ b/roster.js @@ -51,7 +51,9 @@ function initRoster(connection) { tr.appendChild(td); td = document.createElementNS('http://www.w3.org/1999/xhtml', 'td'); const button = document.createElementNS('http://www.w3.org/1999/xhtml', 'button'); - button.textContent = 'Remove this contact'; + button.classList.add('btn'); + button.classList.add('btn-danger'); + button.textContent = '✕'; button.onclick = function (evt) { const iq = $iq({type: 'set'}) .c('query', {xmlns: NS.roster})