Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
kisahklasik committed Aug 9, 2024
1 parent b21b1b6 commit 9fe11f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ <h1>Tutorial:</h1>

// share
document.getElementById("shared").addEventListener("click", () => {
//alert("Bagikan Twibbon ini ke media sosial Anda?");
btn.textContent = "Terunduh!";
alert("Bagikan Twibbon ini ke media sosial Anda?");

const dataUrl = c.toDataURL();
fetch(dataUrl)
.then(res => res.blob())
Expand Down

0 comments on commit 9fe11f8

Please sign in to comment.