From 6c83f226396e6d95caf5265c715497e6652666e9 Mon Sep 17 00:00:00 2001 From: Vinicius Coque Date: Fri, 13 Aug 2010 14:31:49 -0300 Subject: Fix some javascripts broken on gettext() implementation --- usr/local/www/graph.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/usr/local/www/graph.php b/usr/local/www/graph.php index 9ada3dc..964c2c7 100755 --- a/usr/local/www/graph.php +++ b/usr/local/www/graph.php @@ -352,21 +352,21 @@ function formatSpeed(speed, unit) { function formatSpeedBits(speed) { // format speed in bits/sec, input: bytes/sec if (speed < 125000) - return Math.round(speed / 125) + " " + ; + return Math.round(speed / 125) + " "; if (speed < 125000000) - return Math.round(speed / 1250)/100 + " " + ; + return Math.round(speed / 1250)/100 + " "; // else - return Math.round(speed / 1250000)/100 + " " + ; /* wow! */ + return Math.round(speed / 1250000)/100 + " "; /* wow! */ } function formatSpeedBytes(speed) { // format speed in bytes/sec, input: bytes/sec if (speed < 1048576) - return Math.round(speed / 10.24)/100 + " " + ; + return Math.round(speed / 10.24)/100 + " "; if (speed < 1073741824) - return Math.round(speed / 10485.76)/100 + " " + ; + return Math.round(speed / 10485.76)/100 + " "; // else - return Math.round(speed / 10737418.24)/100 + " " + ; /* wow! */ + return Math.round(speed / 10737418.24)/100 + " "; /* wow! */ } function LZ(x) { -- cgit v1.1