From 833390a649c633892fbc0d9b6e37d6f7913cabb1 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 24 Apr 2019 20:13:17 +0200 Subject: Fix various problems with re-creating DOM nodes. --- .../src/main/kotlin/pl/treksoft/kvision/chart/ChartCanvas.kt | 1 - 1 file changed, 1 deletion(-) (limited to 'kvision-modules/kvision-chart/src/main/kotlin/pl/treksoft/kvision/chart') 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)) } -- cgit