aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-chart/src
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-04-24 20:13:17 +0200
committerRobert Jaros <rjaros@finn.pl>2019-04-24 20:13:17 +0200
commit833390a649c633892fbc0d9b6e37d6f7913cabb1 (patch)
treeafe334494ef1ab5265ed53d4f48e6fe389b532ef /kvision-modules/kvision-chart/src
parent7bc2dce08659b7cbcb3fd1865c7e3d95e8c42c52 (diff)
downloadkvision-833390a649c633892fbc0d9b6e37d6f7913cabb1.tar.gz
kvision-833390a649c633892fbc0d9b6e37d6f7913cabb1.tar.bz2
kvision-833390a649c633892fbc0d9b6e37d6f7913cabb1.zip
Fix various problems with re-creating DOM nodes.
Diffstat (limited to 'kvision-modules/kvision-chart/src')
-rw-r--r--kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/ChartCanvas.kt1
1 files changed, 0 insertions, 1 deletions
diff --git a/kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/ChartCanvas.kt b/kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/ChartCanvas.kt
index 09b68633..8d7c49a7 100644
--- a/kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/ChartCanvas.kt
+++ b/kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart/ChartCanvas.kt
@@ -53,7 +53,6 @@ internal class ChartCanvas(
}
override fun afterInsert(node: VNode) {
- super.afterInsert(node)
jsChart =
JsChart(this.context2D, configuration.toJs(this::translate))
}