mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Fix bug where count widget wasn't being updated correctly
This commit is contained in:
parent
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) {
|
CountWidget.prototype.refresh = function(changedTiddlers) {
|
||||||
// Re-execute the filter to get the count
|
// Re-execute the filter to get the count
|
||||||
|
this.computeAttributes();
|
||||||
var oldCount = this.currentCount;
|
var oldCount = this.currentCount;
|
||||||
this.execute();
|
this.execute();
|
||||||
if(this.currentCount !== oldCount) {
|
if(this.currentCount !== oldCount) {
|
||||||
|
Loading…
Reference in New Issue
Block a user