Fix bug where count widget wasn't being updated correctly

print-window-tiddler
Jermolene 2014-03-10 18:15:00 +00:00
rodzic f04527ae32
commit 01e1133219
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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) {