summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/row_toggle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/row_toggle.js b/usr/local/www/row_toggle.js
index 2f54927..1ae9240 100755
--- a/usr/local/www/row_toggle.js
+++ b/usr/local/www/row_toggle.js
@@ -9,7 +9,7 @@ function fr_bgcolor(id) {
var cells = row.getElementsByTagName('td');
var cellcnt = cells.length;
- for (i = 0; i <= cellcnt; i++) {
+ for (i = 0; i < cellcnt; i++) {
// Check for cells with frd id only
if (cells[i].id == "frd" + id)
cells[i].style.backgroundColor = checkbox.checked ? "#FFFFBB" : "#FFFFFF";
OpenPOWER on IntegriCloud