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 25, 2024
1 parent 784cd46 commit 0416c53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ statusElement.textContent = config.messages.status.done;

// create downloadlink
let downloadButtonElement = document.createElement('a');
downloadButtonElement.classList.add("btn");
downloadButtonElement.classList.add("button big");
downloadButtonElement.innerText = config.messages.buttons.download;
downloadButtonElement.href = generator.render();
downloadButtonElement.download = config.profilePictureName;
Expand All @@ -118,7 +118,7 @@ mainElement.appendChild(downloadButtonElement);
mainElement.removeChild(fileUploadElement);

let renewFormElement = document.createElement('button');
renewFormElement.classList.add("btn");
renewFormElement.classList.add("button big danger");
renewFormElement.innerText = config.messages.buttons.newImage;
renewFormElement.addEventListener('click', function(){
generateElements();
Expand Down

0 comments on commit 0416c53

Please sign in to comment.