diff options
author | Andrew Dolgov <[email protected]> | 2007-10-18 03:55:44 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-10-18 03:55:44 +0100 |
commit | a04c8e8dc2efd08e6f4d828d93099bacf02d421d (patch) | |
tree | b0ca415a34a1d2c513396244f3095ce9b3a27591 /functions.js | |
parent | bef4c2451ee731b572e95646f40e75a514baae9a (diff) |
add collapsed CDM mode
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/functions.js b/functions.js index abbe62326..0211d2f56 100644 --- a/functions.js +++ b/functions.js @@ -1198,7 +1198,9 @@ function checkboxToggleElement(elem, id) { function appearBlockElement(id, h_id) { try { - Effect.Fade(h_id); + if (h_id) { + Effect.Fade(h_id); + } Effect.SlideDown(id, {duration : 1.0, afterFinish: appearBlockElement_afh}); } catch (e) { exception_error("appearBlockElement", e); @@ -1206,7 +1208,6 @@ function appearBlockElement(id, h_id) { } - function hideParentElement(e) { e.parentNode.style.display = "none"; } |