kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Make the reveal widget hide the div element if it is not open
rodzic
ebcd5177ec
commit
5b4ca67d6e
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue