Index: chrome/content/ui/filters-subscriptionview.js |
=================================================================== |
--- a/chrome/content/ui/filters-subscriptionview.js |
+++ b/chrome/content/ui/filters-subscriptionview.js |
@@ -82,17 +82,17 @@ ListManager.prototype = |
// Remove existing entries if any |
while (this._list.firstChild) |
this._list.removeChild(this._list.firstChild); |
// Now add all subscriptions |
let subscriptions = FilterStorage.subscriptions.filter(this._filter, this); |
if (subscriptions.length) |
{ |
- for each (let subscription in subscriptions) |
+ for (let subscription of subscriptions) |
this.addSubscription(subscription, null); |
// Make sure first list item is selected after list initialization |
Utils.runAsync(function() |
{ |
this._list.selectItem(this._list.getItemAtIndex(this._list.getIndexOfFirstVisibleRow())); |
}, this); |
} |