mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-09 15:26:33 +00:00
Revert incorrect refreshing of tiddler widget
Mistakenly, I had changed the tiddler widget to refresh itself when the value of the target tiddler changed. This is not in fact necessary; it only needs to refresh itself when the identity of the target tiddler changes. Fixes #744
This commit is contained in:
parent
2e3221c4e0
commit
ad40223d6b
@ -70,7 +70,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 || changedTiddlers[this.tiddlerTitle]) {
|
if(changedAttributes.tiddler) {
|
||||||
this.refreshSelf();
|
this.refreshSelf();
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user