Fix typos in resizeObserver

This commit is contained in:
D. Berge
2021-09-28 18:14:39 +02:00
parent 798203be9f
commit cd78dbd0d8
3 changed files with 3 additions and 3 deletions

View File

@@ -353,7 +353,7 @@ export default {
beforeDestroy () {
if (this.resizeObserver) {
this.resizeObserver.observe(this.$refs.graphViolin);
this.resizeObserver.unobserve(this.$refs.graphViolin);
this.resizeObserver.unobserve(this.$refs.graphSeries);
}
}

View File

@@ -370,7 +370,7 @@ export default {
beforeDestroy () {
if (this.resizeObserver) {
this.resizeObserver.observe(this.$refs.graphViolin);
this.resizeObserver.unobserve(this.$refs.graphViolin);
this.resizeObserver.unobserve(this.$refs.graphSeries);
}
}

View File

@@ -353,7 +353,7 @@ export default {
beforeDestroy () {
if (this.resizeObserver) {
this.resizeObserver.observe(this.$refs.graphViolin);
this.resizeObserver.unobserve(this.$refs.graphViolin);
this.resizeObserver.unobserve(this.$refs.graphSeries);
}
}