From 35b210e16c742e6b573d3ced1230bcc35131e0f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Tue, 7 Jul 2020 15:35:07 +0100 Subject: [PATCH] add icon to destroy button in Access modal --- www/common/inner/access.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/inner/access.js b/www/common/inner/access.js index 84ada6da6..7abfd1035 100644 --- a/www/common/inner/access.js +++ b/www/common/inner/access.js @@ -898,7 +898,7 @@ define([ } } if (owned) { - var deleteOwned = h('button.btn.btn-danger-alt', Messages.fc_delete_owned); + var deleteOwned = h('button.btn.btn-danger-alt', [h('i.cptools.cptools-destroy'), Messages.fc_delete_owned]); var spinner = UI.makeSpinner(); UI.confirmButton(deleteOwned, { classes: 'btn-danger'