kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Fix tiddler widget to refresh properly
Previously wasn’t refreshing for changes to the tiddler that it refers toprint-window-tiddler
rodzic
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) {
|
||||
var changedAttributes = this.computeAttributes();
|
||||
if(changedAttributes.tiddler) {
|
||||
if(changedAttributes.tiddler || changedTiddlers[this.tiddlerTitle]) {
|
||||
this.refreshSelf();
|
||||
return true;
|
||||
} else {
|
||||
|
|
Ładowanie…
Reference in New Issue