1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00

Fix typo in reveal widget

Introduced in a3a4c28143
This commit is contained in:
Jermolene 2018-07-31 13:30:00 +01:00
parent 0285eb600e
commit 2d231a2e07

View File

@ -175,6 +175,7 @@ RevealWidget.prototype.refresh = function(changedTiddlers) {
return true;
} else {
var currentlyOpen = this.isOpen;
this.readState();
if(this.isOpen !== currentlyOpen || (this.stateTitle && changedTiddlers[this.stateTitle])) {
if(this.retain === "yes") {
this.updateState();