diff pep.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 5aa1bf7154b0
children af2874ff7234
line wrap: on
line diff
--- a/pep.js
+++ b/pep.js
@@ -61,7 +61,9 @@ function initPEP(connection) {
         }
         const td = document.createElementNS('http://www.w3.org/1999/xhtml', 'td');
         const button = document.createElementNS('http://www.w3.org/1999/xhtml', 'button');
-        button.textContent = 'Delete this node';
+        button.classList.add('btn');
+        button.classList.add('btn-danger');
+        button.textContent = '✕';
         button.onclick = function (evt) {
             const iq = $iq({type: 'set'})
                 .c('pubsub', {xmlns: NS.pubsub_owner})