kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Fix bug where count widget wasn't being updated correctly
rodzic
f04527ae32
commit
01e1133219
|
@ -54,6 +54,7 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of
|
|||
*/
|
||||
CountWidget.prototype.refresh = function(changedTiddlers) {
|
||||
// Re-execute the filter to get the count
|
||||
this.computeAttributes();
|
||||
var oldCount = this.currentCount;
|
||||
this.execute();
|
||||
if(this.currentCount !== oldCount) {
|
||||
|
|
Ładowanie…
Reference in New Issue