| Index: lib/stats.js |
| =================================================================== |
| --- a/lib/stats.js |
| +++ b/lib/stats.js |
| @@ -40,7 +40,7 @@ |
| return (key in Prefs.stats_total ? Prefs.stats_total[key] : 0); |
| }; |
| -FilterNotifier.addListener(function(action, item, newValue, oldValue, tabId) |
| +FilterNotifier.addListener(function(action, item, newValue, oldValue, tab) |
| { |
| if (action != "filter.hitCount") |
| return; |
| @@ -56,7 +56,7 @@ |
| Prefs.stats_total.blocked = 1; |
| Prefs.stats_total = Prefs.stats_total; |
| - let frameData = getFrameData(tabId, 0); |
| + let frameData = getFrameData(tab, 0); |
| if (frameData) |
| { |
| if ("blocked" in frameData) |