fix chart 2

This commit is contained in:
yuri
2017-04-11 14:05:49 +03:00
parent 0b44fee0e5
commit a6541f6f21
@@ -99,7 +99,7 @@ Espo.define('crm:views/dashlets/abstract/chart', ['views/dashlets/abstract/base'
$container.css('height', height);
setTimeout(function () {
if (!$container.size()) return;
if (!$container.size() || !$container.is(":visible")) return;
this.drow();
}.bind(this), 1);
});