We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d771058 commit c9ddbf3Copy full SHA for c9ddbf3
index.js
@@ -294,7 +294,7 @@ function clearHistoryInLocalStorage() {
294
localStorage.removeItem("calculatorHistory");
295
}
296
297
-function togglesClearHistoryButton(element, btn) {
+function togglesClearHistoryButton(element) {
298
clearHistoryBtn.classList.toggle("display", element.childElementCount > 0);
299
300
// functions creations ends
0 commit comments