Skip to content

Commit

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

// share
document.getElementById("shared").addEventListener("click", () => {
alert("Bagikan Twibbon ini ke media sosial Anda?");
//alert("Bagikan Twibbon ini ke media sosial Anda?");
btn.textContent = "Terunduh!";
const dataUrl = c.toDataURL();
fetch(dataUrl)
.then(res => res.blob())
Expand Down

0 comments on commit b21b1b6

Please sign in to comment.