From 1ab965ad68205c40570f4f19268963af86054ea6 Mon Sep 17 00:00:00 2001 From: Noodlebox1 Date: Tue, 24 Sep 2024 18:17:14 +1000 Subject: [PATCH 1/2] Updated Javascript to support icons --- assets/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/index.js b/assets/index.js index 75c2a2b..027e49b 100644 --- a/assets/index.js +++ b/assets/index.js @@ -7,10 +7,8 @@ function toggleSpellcheck() { // Toggle spellcheck attribute if (isSpellcheckEnabled) { textArea.setAttribute('spellcheck', 'false'); - link.textContent = 'Enable Spellcheck'; } else { textArea.setAttribute('spellcheck', 'true'); - link.textContent = 'Disable Spellcheck'; } // Toggle link styling @@ -43,3 +41,4 @@ document.getElementById('downloadBtn').addEventListener('click', function() { document.body.removeChild(a); URL.revokeObjectURL(url); }); + From 0c1dbb786e5639b3b979f6190862c6fe2c40ca63 Mon Sep 17 00:00:00 2001 From: Noodlebox1 Date: Tue, 24 Sep 2024 18:53:08 +1000 Subject: [PATCH 2/2] Added alt text to spellcheck and download buttons --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 7c625f3..5d7ffa1 100644 --- a/index.html +++ b/index.html @@ -11,10 +11,10 @@
-
+
Toggle spellcheck

- +Download
0 words