Skip to content

Commit c9ddbf3

Browse files
committed
(feat:JS): remove unused parameter
1 parent d771058 commit c9ddbf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ function clearHistoryInLocalStorage() {
294294
localStorage.removeItem("calculatorHistory");
295295
}
296296

297-
function togglesClearHistoryButton(element, btn) {
297+
function togglesClearHistoryButton(element) {
298298
clearHistoryBtn.classList.toggle("display", element.childElementCount > 0);
299299
}
300300
// functions creations ends

0 commit comments

Comments
 (0)