Skip to content

Commit ee297e4

Browse files
committed
(feat:JS): remove duplicated event listener
1 parent 1a562d3 commit ee297e4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ function convertToPercentage(button) {
9797
}
9898
}
9999

100-
clearHistoryBtn.addEventListener("click", () => {
101-
historyElement.innerHTML = "";
102-
});
100+
103101

104102
function deteLastEntry(button) {
105103
if (button === "DE") {

0 commit comments

Comments
 (0)