Skip to content

Commit

Permalink
(feat:JS): remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
josueJURE committed Mar 1, 2024
1 parent d771058 commit c9ddbf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ function clearHistoryInLocalStorage() {
localStorage.removeItem("calculatorHistory");
}

function togglesClearHistoryButton(element, btn) {
function togglesClearHistoryButton(element) {
clearHistoryBtn.classList.toggle("display", element.childElementCount > 0);
}
// functions creations ends

0 comments on commit c9ddbf3

Please sign in to comment.