mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-01 08:03:00 +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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user