diff --git a/index.php b/index.php
index e6dd133..8f51fb1 100644
--- a/index.php
+++ b/index.php
@@ -501,7 +501,7 @@ $facebook_link = "https://www.facebook.com/profile.php?id=61587890927489";
@@ -652,23 +652,7 @@ $facebook_link = "https://www.facebook.com/profile.php?id=61587890927489";
}
function sendToWhatsApp() {
- const name = document.getElementById('user-name').value;
- const message = document.getElementById('user-message').value;
- const phoneNumber = '5359177041';
-
- if (!message.trim()) {
- alert('Por favor, escribe un mensaje.');
- return;
- }
-
- let finalMessage = `Hola Lili Records! `;
- if (name.trim()) {
- finalMessage += `Soy ${name}. `;
- }
- finalMessage += message;
-
- const url = `https://wa.me/${phoneNumber}?text=${encodeURIComponent(finalMessage)}`;
- window.open(url, '_blank');
+ window.open('= $whatsapp_link ?>', '_blank');
}
// Fetch Now Playing Metadata from RadioKing