summaryrefslogtreecommitdiffstats
path: root/usr/local/www/row_toggle.js
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-08-09 15:24:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-08-09 15:24:23 +0000
commitfb5ab4917aa3d0b23294708a064ae5141a638caf (patch)
tree0571cfe1796dde9cbbf28938d8e4f5952c58f3d8 /usr/local/www/row_toggle.js
parent5cfb93bc648e076ef2d3e0b7a4f1eaafd8b82e3d (diff)
downloadpfsense-fb5ab4917aa3d0b23294708a064ae5141a638caf.zip
pfsense-fb5ab4917aa3d0b23294708a064ae5141a638caf.tar.gz
Backout these changes.
Diffstat (limited to 'usr/local/www/row_toggle.js')
-rwxr-xr-xusr/local/www/row_toggle.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/row_toggle.js b/usr/local/www/row_toggle.js
index 939cc5e..0e7a786 100755
--- a/usr/local/www/row_toggle.js
+++ b/usr/local/www/row_toggle.js
@@ -31,11 +31,11 @@ function fr_insline(id, on) {
if (prevcells[i].id == 'frd' + (id-1)) {
if (on) {
prevcells[i].style.borderBottom = "3px solid #990000";
- prevcells[i].style.paddingBottom = (id != 0) ? 2 : 3 + "px";
+ prevcells[i].style.paddingBottom = (id != 0) ? 2 : 3;
} else {
prevcells[i].style.borderBottom = "1px solid #999999";
prevcells[i].style.borderBottomWidth = "1px";
- prevcells[i].style.paddingBottom = (id != 0) ? 4 : 5 + "px";
+ prevcells[i].style.paddingBottom = (id != 0) ? 4 : 5;
}
}
}
@@ -44,10 +44,10 @@ function fr_insline(id, on) {
if (cells[i].id == 'frd' + (id)) {
if (on) {
cells[i].style.borderTop = "2px solid #990000";
- cells[i].style.paddingTop = 2 + "px";
+ cells[i].style.paddingTop = 2;
} else {
cells[i].style.borderTopWidth = 0;
- cells[i].style.paddingTop = 4 + "px";
+ cells[i].style.paddingTop = 4;
}
}
}
OpenPOWER on IntegriCloud