From a9b0bfd5e01ca33f05a18ccc528c730d896732b6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 20 Dec 2005 11:39:20 +0100 Subject: update close.svg; add hideParentElement() function --- functions.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'functions.js') diff --git a/functions.js b/functions.js index e27beac28..ca51b1acd 100644 --- a/functions.js +++ b/functions.js @@ -741,4 +741,6 @@ function showBlockElement(id) { } } - +function hideParentElement(e) { + e.parentNode.style.display = "none"; +} -- cgit v1.2.3-54-g00ecf