From c1b33dc0c43fa302fc12f858bf7d842c92719c19 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 15 Nov 2022 14:46:51 +0100 Subject: [PATCH] Use fontastic in Nextcloud Files selector dialog --- plugins/nextcloud/js/webdav.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/nextcloud/js/webdav.js b/plugins/nextcloud/js/webdav.js index 07dde6cba..9915dd2b8 100644 --- a/plugins/nextcloud/js/webdav.js +++ b/plugins/nextcloud/js/webdav.js @@ -156,19 +156,22 @@ const li.dataset.icon = '🗎'; btn.name = 'select'; - btn.textContent = '📎 attach'; + btn.dataset.icon = '📎'; + btn.textContent = 'attach'; btn.className = 'button-vue'; li.append(btn); btn = document.createElement('button'); btn.name = 'share-internal'; - btn.textContent = '🔗 internal'; + btn.dataset.icon = '🔗'; + btn.textContent = 'internal'; btn.className = 'button-vue'; li.append(btn); btn = document.createElement('button'); btn.name = 'share-public'; - btn.textContent = '🔗 public'; + btn.dataset.icon = '🔗'; + btn.textContent = 'public'; btn.className = 'button-vue'; li.append(btn);