From ff028a33004dceca169e8fa97d7671d63ddbf6d4 Mon Sep 17 00:00:00 2001 From: andrpet Date: Mon, 27 Jun 2016 11:46:51 +0200 Subject: [PATCH] plugin update --- datalets/base-datalet/static/js/WorkcycleBehavior.js | 2 +- datalets/highcharts-datalet/highcharts-datalet.html | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/datalets/base-datalet/static/js/WorkcycleBehavior.js b/datalets/base-datalet/static/js/WorkcycleBehavior.js index 22dd2bd..b15358a 100755 --- a/datalets/base-datalet/static/js/WorkcycleBehavior.js +++ b/datalets/base-datalet/static/js/WorkcycleBehavior.js @@ -102,7 +102,7 @@ var WorkcycleBehavior = { that.presentData(); $(that._component).find("base-datalet")[0].removeLoader(); that.redraw(); - }, 100); + }, 300); }, /** diff --git a/datalets/highcharts-datalet/highcharts-datalet.html b/datalets/highcharts-datalet/highcharts-datalet.html index 121e347..880bb05 100755 --- a/datalets/highcharts-datalet/highcharts-datalet.html +++ b/datalets/highcharts-datalet/highcharts-datalet.html @@ -125,9 +125,7 @@ Example : }, redraw: function () { - //$(this._component.$.charts.$.container).highcharts().reflow(); - var a = $(this._component.$.charts.$.container); - $(a[0]).highcharts().reflow(); + $(this._component.$.charts.$.container).highcharts().reflow(); } }; -- libgit2 0.21.4