summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorJoecowboy <i7wasn7m3@gmail.com>2012-01-25 22:46:38 -0600
committerJoecowboy <i7wasn7m3@gmail.com>2012-01-25 22:46:38 -0600
commit83e7491df5db09856ef5303218e00ff61b7e165d (patch)
tree8b1236b11a38fa54779354983d5ad42f644f6a4a /usr/local/www
parente9ca9b9a35c5e7c9c2fb6025c54da420d901cc49 (diff)
downloadpfsense-83e7491df5db09856ef5303218e00ff61b7e165d.zip
pfsense-83e7491df5db09856ef5303218e00ff61b7e165d.tar.gz
Update usr/local/www/widgets/javascript/cpu_graphs.js
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/widgets/javascript/cpu_graphs.js4
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
OpenPOWER on IntegriCloud