Skip to content

Commit

Permalink
Remove else block
Browse files Browse the repository at this point in the history
Co-authored-by: luke crouch <luke.crouch@gmail.com>
  • Loading branch information
dannycolin and groovecoder committed Jul 27, 2022
1 parent 3a60f1c commit de1df78
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/js/confirm-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ function setDenyButton(currentContainerName) {
if (currentContainerName) {
buttonDenyNoContainer.style.display = "none";
return currentContainerName;
} else {
buttonDeny.style.display = "none";
return;
}
buttonDeny.style.display = "none";
return;
}

function appendFavicon(pageUrl, redirectUrlElement) {
Expand Down

0 comments on commit de1df78

Please sign in to comment.