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"; } diff --git a/functions.php b/functions.php index f87491d61..32240b1ac 100644 --- a/functions.php +++ b/functions.php @@ -4622,7 +4622,25 @@ "target=\"_new\" href=", $line["content_preview"]); } - print "