diff options
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r-- | usr/local/www/widgets/javascript/cpu_graphs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/widgets/javascript/cpu_graphs.js b/usr/local/www/widgets/javascript/cpu_graphs.js index 3d91b5f..0fa1eeb 100644 --- a/usr/local/www/widgets/javascript/cpu_graphs.js +++ b/usr/local/www/widgets/javascript/cpu_graphs.js @@ -237,10 +237,10 @@ function GraphDraw(graph) { return (h - Math.round((h - v) * s)) + 'px'; } - Element.hide(graph['spans'][count - 1]); + graph['spans'][count - 1].css("display", "none"); for(var i = 0; i < count; i++) - graph['spans'][i].style.marginTop = getMargin(i); + graph['spans'][i].css("marginTop", getMargin(i)); // jQuery('#' + graph['spans'][count - 1]).fadeIn(500); }
\ No newline at end of file |