summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-08-08 17:39:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-08-08 17:39:14 +0000
commit4ba6d30d08283a3a1e7ce63250d2e928c80b3ac1 (patch)
treefb5d803e0d5307cbdceb1585cfd3a01f26390fe6 /usr/local
parent1a23410cd16cd6ce77090ab3c0a9d67acfaf3e8f (diff)
downloadpfsense-4ba6d30d08283a3a1e7ce63250d2e928c80b3ac1.zip
pfsense-4ba6d30d08283a3a1e7ce63250d2e928c80b3ac1.tar.gz
Add "px" to items to kill CSS errors.
Submitted-by: Royce3 via irc
Diffstat (limited to 'usr/local')
-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 0e7a786..939cc5e 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;
+ prevcells[i].style.paddingBottom = (id != 0) ? 2 : 3 + "px";
} else {
prevcells[i].style.borderBottom = "1px solid #999999";
prevcells[i].style.borderBottomWidth = "1px";
- prevcells[i].style.paddingBottom = (id != 0) ? 4 : 5;
+ prevcells[i].style.paddingBottom = (id != 0) ? 4 : 5 + "px";
}
}
}
@@ -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;
+ cells[i].style.paddingTop = 2 + "px";
} else {
cells[i].style.borderTopWidth = 0;
- cells[i].style.paddingTop = 4;
+ cells[i].style.paddingTop = 4 + "px";
}
}
}
OpenPOWER on IntegriCloud