Skip to content

Commit 7df8d02

Browse files
committed
🚑 fix bug with toglge appearing twice
1 parent f3f1a5f commit 7df8d02

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/details/modal/main-page.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,9 @@ function twoPointFunctionality() {
308308
setOff();
309309
}
310310
});
311+
d3.select(".two-point-toggle")
312+
.selectAll("*")
313+
.remove();
311314
d3.select(".two-point-toggle")
312315
.append("label")
313316
.attr("class", "form-check-label")

0 commit comments

Comments
 (0)