summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-08-09 22:59:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-08-09 22:59:05 +0000
commitdb045e8aa06008ac713091f117dd5f9f8f635f25 (patch)
tree9433b69b8b3c1b64749c6674660693789b11be38 /usr/local
parentabf0c54484bb8e2bb6c7b9506af74765f3d83c75 (diff)
downloadpfsense-db045e8aa06008ac713091f117dd5f9f8f635f25.zip
pfsense-db045e8aa06008ac713091f117dd5f9f8f635f25.tar.gz
Fix Ticket #1064
css errors when mousing over right-side buttons in firewall_rules.php 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..62fe0b8 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 = "2px";
} else {
cells[i].style.borderTopWidth = 0;
- cells[i].style.paddingTop = 4;
+ cells[i].style.paddingTop = "4px";
}
}
}
OpenPOWER on IntegriCloud