Index: include.postload.js |
=================================================================== |
--- a/include.postload.js |
+++ b/include.postload.js |
@@ -713,11 +713,12 @@ |
} |
break; |
case "clickhide-close": |
- if (clickHideFiltersDialog) |
+ if (clickHideFiltersDialog && msg.remove) |
{ |
// Explicitly get rid of currentElement |
- if (msg.remove && currentElement && currentElement.parentNode) |
- currentElement.parentNode.removeChild(currentElement); |
+ var element = currentElement.prisoner || currentElement; |
+ if (element && element.parentNode) |
+ element.parentNode.removeChild(element); |
} |
clickHide_deactivate(); |
break; |