mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-08 14:55:17 +00:00
Fix tiddler widget to refresh properly
Previously wasn’t refreshing for changes to the tiddler that it refers to
This commit is contained in:
parent
0f78c4afbf
commit
9de679b84b
@ -53,7 +53,7 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of
|
|||||||
*/
|
*/
|
||||||
TiddlerWidget.prototype.refresh = function(changedTiddlers) {
|
TiddlerWidget.prototype.refresh = function(changedTiddlers) {
|
||||||
var changedAttributes = this.computeAttributes();
|
var changedAttributes = this.computeAttributes();
|
||||||
if(changedAttributes.tiddler) {
|
if(changedAttributes.tiddler || changedTiddlers[this.tiddlerTitle]) {
|
||||||
this.refreshSelf();
|
this.refreshSelf();
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user