Skip to content

Commit

Permalink
SWAL
Browse files Browse the repository at this point in the history
  • Loading branch information
taufiqpop committed Sep 13, 2024
1 parent 0663de3 commit 4935f6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1287,13 +1287,9 @@ <h4>Whatsapp :</h4>
<div class="form-group mt-3">
<textarea class="form-control" name="message" rows="5" placeholder="Message"></textarea>
</div>
<div class="my-3">
<div class="loading">Loading</div>
<div class="error-message"></div>
<div class="sent-message">Your message has been sent. Thank you!</div>
<div class="text-center">
<button type="submit" onclick="sendMessage(event)">Send Message</button>
</div>
<div class="text-center"><button type="submit"
onclick="sendMessage(event)">Send Message</button></div>
</form>
</div>

Expand Down
2 changes: 1 addition & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ window.CRISP_WEBSITE_ID = "d1a3310d-2d9a-484d-9e88-239aa90cfd99";
// SWAL
function sendMessage(event) {
event.preventDefault();

Swal.fire({
icon: 'success',
title: 'Pesan Terkirim',
Expand Down

0 comments on commit 4935f6d

Please sign in to comment.