Skip to content

Commit

Permalink
Atualizar o index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
pedropamn authored Sep 12, 2024
1 parent bff038f commit 42c4d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ <h2 style="color:#fff;">Send a WhatsApp message without saving the number</h2><b
//DialCode + Phone
var dialCodeAndPhone = dialCode + phoneNumber;
var message = "Olá!"; // mensagem pré-definida
var url = "https://api.whatsapp.com/send?phone" + dialCodeAndPhone + "?text=" + encodeURIComponent(message); // URL do link
var url = "https://api.whatsapp.com/send?phone=" + dialCodeAndPhone + "?text=" + encodeURIComponent(message); // URL do link
window.open(url, '_blank'); // abre a nova janela com o link
})
</script>
Expand Down

0 comments on commit 42c4d9f

Please sign in to comment.