Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jiinbe authored Jun 26, 2024
1 parent 9f29280 commit 2ab8211
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ nextX += (logo.width * renderOptions.scale) + 10

// set image url to blob
let downloadImageElement = document.createElement('img');
downloadImageElement.setAttribute("alt", "Preview Twibbon");
downloadImageElement.setAttribute("alt", "Result Twibbon");
downloadImageElement.src = generator.render();
mainElement.appendChild(downloadImageElement);

Expand All @@ -123,13 +123,7 @@ renewFormElement.innerText = config.messages.buttons.newImage;
renewFormElement.addEventListener('click', function(){
generateElements();
});
mainElement.appendChild(renewFormElement);

let statusShare = document.createElement('span');
statusShare.classList.add("button");
statusShare.innerText = config.messages.buttons.shared;
mainElement.appendChild(statusShare);

mainElement.appendChild(renewFormElement);
});
}
});
Expand Down

0 comments on commit 2ab8211

Please sign in to comment.