Skip to content

Commit 1fe4692

Browse files
committed
bug fix
1 parent b61b26e commit 1fe4692

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/js/dataOp.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ class Smoother {
385385

386386
this.inpElem.onmouseover = (ev) => { ev.target.focus() }
387387
this.inpElem.oninput = this.smoothApprox
388+
this.allBlockElem.onclick = this.smoothApprox
388389
document.getElementById('smoothApl').onclick = () =>{
389390
this.saveApprox()
390391
if (!this.shown) {
@@ -432,7 +433,7 @@ class Smoother {
432433
fullData.splice(1, 1)
433434
fullDataCols.splice(1, 1)
434435
legendNames.splice(1, 1)
435-
window.addEventListener('colChanged', this.colChangedProxy)
436+
window.removeEventListener('columnChanged', this.colChangedProxy)
436437
window.removeEventListener('sliderChanged', this.sliderChangeProxy)
437438
window.removeEventListener('keydown', this.saveProxy)
438439
}

0 commit comments

Comments
 (0)