From 823c3ba34e6ba5af0d47dcc2564e6ad32a0413e4 Mon Sep 17 00:00:00 2001 From: Norld Date: Sat, 25 May 2024 13:49:55 +0800 Subject: [PATCH] Update whatsapp.js --- dist/whatsapp.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/whatsapp.js b/dist/whatsapp.js index 72f9123..2442675 100644 --- a/dist/whatsapp.js +++ b/dist/whatsapp.js @@ -38,6 +38,7 @@ imgButton.src = "https://cdn.jsdelivr.net/gh/norld/whatsapp-injector@0.1.1/dist/ imgButton.id = "whatsapp-button"; imgButton.style.width = "24px"; imgButton.style.height = "24px"; +imgButton.alt = "contact-whatsapp"; const spanButton = document.createElement("span"); spanButton.innerText = "WhatsApp"; @@ -54,4 +55,4 @@ flexContainer.appendChild(spanButton); flexContainer.addEventListener("click", function() { window.location.href = "https://api.whatsapp.com/send?phone="+textContentNumber+"&text="+textContentText; -}); \ No newline at end of file +});