summaryrefslogtreecommitdiff
path: root/js/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/common.js')
-rw-r--r--js/common.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/js/common.js b/js/common.js
index 11dcdba..560f63d 100644
--- a/js/common.js
+++ b/js/common.js
@@ -20,12 +20,13 @@ function removeClass(node, className)
*
*
*/
-function toggleDisplay(node)
+function toggleDisplay(id)
{
+ node = $(id);
if (node.style.display=='none') {
- node.style.display = 'block';
+ node.fadeIn();
} else {
- node.style.display = 'none';
+ node.fadeOut();
}
return false;