Skip to content

Commit

Permalink
fix: remove extra semicolons in web-share example (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshkadis authored Aug 22, 2024
1 parent 878a5da commit 08dadaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web-share/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ <h1>Sharing MDN</h1>
}
navigator.share(shareData)
.then(() =>
resultPara.textContent = 'MDN shared successfully';
resultPara.textContent = 'MDN shared successfully'
)
.catch((e) =>
resultPara.textContent = 'Error: ' + e;
resultPara.textContent = 'Error: ' + e
)
});
</script>
Expand Down

0 comments on commit 08dadaa

Please sign in to comment.