1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +00:00

Bugfix: reveal widget regression! (#3897)

This commit is contained in:
Simon Huber 2019-04-06 11:27:37 +02:00 committed by Jeremy Ruston
parent d5fa68b46a
commit 662ae91067

View File

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