Fix bug where count widget wasn't being updated correctly

This commit is contained in:
Jermolene
2014-03-10 18:15:00 +00:00
parent f04527ae32
commit 01e1133219
+1
View File
@@ -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) {