Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
agr s
  • Loading branch information
kelbovin committed Dec 5, 2023
1 parent f2e75df commit b5bebaa
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 @@ -119,7 +119,7 @@
if (newNick.trim() !== "") {
var url = "";
var fileName = newNick + "_" + type; // Defina o nome do arquivo desejado
var imgHtml = "";
var imgHtml = "<a href='" + url + "' download='" + fileName + "'><img src='" + url + "' alt='Foto do nick'></a>";

if (type === 'Atual') {
url = "https://gartic.com.br/avatar.php?nick=" + encodeURIComponent(newNick);
Expand Down

0 comments on commit b5bebaa

Please sign in to comment.