summaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2011-05-24 15:08:31 -0400
committerChristian Fowler <spider@viovio.com>2011-05-24 15:08:31 -0400
commit03a3b409a0af0928182aff69106b9fdcef86877a (patch)
tree99a20a325a77b1450163ca1d68e43c46858fccea /javascript
parent9a5e46c88ca6efdac44a92a5c8acef7ee871c062 (diff)
downloadutil-03a3b409a0af0928182aff69106b9fdcef86877a.tar.gz
util-03a3b409a0af0928182aff69106b9fdcef86877a.tar.bz2
util-03a3b409a0af0928182aff69106b9fdcef86877a.zip
update toggleElementDisplay to return true if element was displayed and false if notpre-lf-storage-path-to-file-name
Diffstat (limited to 'javascript')
-rw-r--r--javascript/bitweaver.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/javascript/bitweaver.js b/javascript/bitweaver.js
index aedf133..733bdb3 100644
--- a/javascript/bitweaver.js
+++ b/javascript/bitweaver.js
@@ -233,6 +233,7 @@ BitBase = {
}
var value = obj.style.display == 'none'?val:'none';
self.setElementDisplay( obj, value, useCookie );
+ return value != 'none';
},
// desc: convenience