kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Fix problem with the reveal widget not refreshing properly when used with text references
The check for changed tiddlers was failing because `this.stateTitle` contains the entire text reference, not just the tiddler title.print-window-tiddler
rodzic
dc8e84fcb7
commit
800bc639f9
|
@ -156,8 +156,10 @@ RevealWidget.prototype.refresh = function(changedTiddlers) {
|
|||
this.refreshSelf();
|
||||
return true;
|
||||
} else {
|
||||
var refreshed = false;
|
||||
if(changedTiddlers[this.stateTitle]) {
|
||||
var refreshed = false,
|
||||
currentlyOpen = this.isOpen;
|
||||
this.readState();
|
||||
if(this.isOpen !== currentlyOpen) {
|
||||
if(this.retain === "yes") {
|
||||
this.updateState();
|
||||
} else {
|
||||
|
|
Ładowanie…
Reference in New Issue