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 3, 2024
1 parent 0991736 commit 4b66578
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 @@ -90,7 +90,7 @@ <h1>Tutorial:</h1>

// share
document.getElementById("shared").addEventListener("click", () => {
alert("share image");
alert("Bagikan Twibbon ini ke media sosial Anda?");
const dataUrl = c.toDataURL();
fetch(dataUrl)
.then(res => res.blob())
Expand Down Expand Up @@ -126,7 +126,7 @@ <h1>Tutorial:</h1>
$('#save').bind("click",function() {
var imgVal = $('#uploader').val();
if(imgVal=='') {
alert("empty input file");
alert("Tidak ada file yang dipilih!");
} else {
console.log('file fill in');
}
Expand Down

0 comments on commit 4b66578

Please sign in to comment.