diff options
-rw-r--r-- | jarmon/jarmon.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js index 3a3de6a..657d094 100644 --- a/jarmon/jarmon.js +++ b/jarmon/jarmon.js @@ -1259,7 +1259,10 @@ jarmon.buildTabbedChartUi = function ($chartTemplate, chartRecipes, // XXX: Hack to give the tab just enough time to become visible // so that Flot can calculate chart dimensions. window.clearTimeout(cc.t); - cc.t = window.setTimeout(cc.update(), 100); + cc.t = window.setTimeout( + function() { + cc.update(); + }, 100); } ); |