Skip to content

Commit

Permalink
add time to score
Browse files Browse the repository at this point in the history
  • Loading branch information
roryclear committed Dec 6, 2024
1 parent 8927ebc commit 4677658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@

function shareScore() {
const scoreElement = document.getElementById('score')
text = "#walktourdle #" + (days+1) + "\n" + scoreElement.innerText + "\nhttps://www.walktourdle.com";
text = "#walktourdle #" + (days+1) + "\n" + scoreElement.innerText + "\n" + document.getElementById('time-taken').innerText + "\nhttps://www.walktourdle.com";
navigator.clipboard.writeText(text);
alert("copied to clipboard");
}
Expand Down

0 comments on commit 4677658

Please sign in to comment.