summaryrefslogtreecommitdiffstats
path: root/usr/local/www/javascript
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2012-09-10 17:32:52 +0200
committerPiBa-NL <pba_2k3@yahoo.com>2012-09-10 17:32:52 +0200
commit32f8552e8a3fc10ef8dec0f325189e4fcc295fcf (patch)
treea6e8169ac85fb84bfea743d2bcd457d4923b603b /usr/local/www/javascript
parent52b2726831c2f170b563ce7e579ffcaf24e17049 (diff)
downloadpfsense-32f8552e8a3fc10ef8dec0f325189e4fcc295fcf.zip
pfsense-32f8552e8a3fc10ef8dec0f325189e4fcc295fcf.tar.gz
Show/hide toggle
Diffstat (limited to 'usr/local/www/javascript')
-rw-r--r--usr/local/www/javascript/filter_log.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/javascript/filter_log.js b/usr/local/www/javascript/filter_log.js
index 3bfab6b..1acb5c2 100644
--- a/usr/local/www/javascript/filter_log.js
+++ b/usr/local/www/javascript/filter_log.js
@@ -127,7 +127,7 @@ function showRuleDescriptions(){
var rules = ss[i].cssRules || ss[i].rules;
for (var j=0; j<rules.length; j++) {
if (rules[j].selectorText === ".listFirewall") {
- rules[j].style.display = "table-cell";
+ rules[j].style.display = rules[j].style.display === "none" ? "table-cell" : "none";
}
}
}
OpenPOWER on IntegriCloud