kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Reveal widget: fix crash when popup tiddler is refreshed but the popup is not displayed
rodzic
32b36fb2af
commit
97dff042f7
|
@ -226,7 +226,7 @@ RevealWidget.prototype.refresh = function(changedTiddlers) {
|
|||
this.refreshSelf();
|
||||
return true;
|
||||
}
|
||||
} else if(this.type === "popup" && this.updatePopupPosition && (changedTiddlers[this.state] || changedTiddlers[this.stateTitle])) {
|
||||
} else if(this.type === "popup" && this.isOpen && this.updatePopupPosition && (changedTiddlers[this.state] || changedTiddlers[this.stateTitle])) {
|
||||
this.positionPopup(this.domNode);
|
||||
}
|
||||
if(changedAttributes.style) {
|
||||
|
|
Ładowanie…
Reference in New Issue