From 2ab8211e0ee0b2ab910d84e50edd47b97b3f3a85 Mon Sep 17 00:00:00 2001 From: Ferry Ayunda <165256908+lonteluh@users.noreply.github.com> Date: Thu, 27 Jun 2024 03:33:16 +0700 Subject: [PATCH] Update script.js --- src/script.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/script.js b/src/script.js index 56158a4..601ad20 100644 --- a/src/script.js +++ b/src/script.js @@ -100,7 +100,7 @@ nextX += (logo.width * renderOptions.scale) + 10 // set image url to blob let downloadImageElement = document.createElement('img'); -downloadImageElement.setAttribute("alt", "Preview Twibbon"); +downloadImageElement.setAttribute("alt", "Result Twibbon"); downloadImageElement.src = generator.render(); mainElement.appendChild(downloadImageElement); @@ -123,13 +123,7 @@ renewFormElement.innerText = config.messages.buttons.newImage; renewFormElement.addEventListener('click', function(){ generateElements(); }); -mainElement.appendChild(renewFormElement); - -let statusShare = document.createElement('span'); -statusShare.classList.add("button"); -statusShare.innerText = config.messages.buttons.shared; -mainElement.appendChild(statusShare); - +mainElement.appendChild(renewFormElement); }); } });