mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-02 10:58:01 +00:00
Make the reveal widget hide the div element if it is not open
This commit is contained in:
@@ -36,6 +36,9 @@ RevealWidget.prototype.render = function(parent,nextSibling) {
|
||||
if(!domNode.isTiddlyWikiFakeDom && this.type === "popup" && this.isOpen) {
|
||||
this.positionPopup(domNode);
|
||||
}
|
||||
if(!this.isOpen) {
|
||||
domNode.setAttribute("hidden","true")
|
||||
}
|
||||
this.domNodes.push(domNode);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user