Index: js/desktop-options.js |
=================================================================== |
--- a/js/desktop-options.js |
+++ b/js/desktop-options.js |
@@ -1156,6 +1156,9 @@ |
}, |
(filters) => |
{ |
+ // Reset each time as there might be several custom filters |
+ if (isCustomFiltersLoaded) |
+ isCustomFiltersLoaded = false; |
Thomas Greiner
2018/03/02 11:43:57
Why not instead just move `isCustomFiltersLoaded =
saroyanm
2018/03/02 15:59:14
Agree, done.
Thomas Greiner
2018/03/02 16:40:43
What about the code you initially added?
saroyanm
2018/03/02 16:43:46
Which code ?
Thomas Greiner
2018/03/02 17:09:04
The new code from the first patch set.
saroyanm
2018/03/02 17:16:51
You mean the current one, right ?
I don't remember
Thomas Greiner
2018/03/02 17:24:16
I mean this one: https://codereview.adblockplus.or
saroyanm
2018/03/05 12:14:52
We are using loop on top, but now we decided to re
saroyanm
2018/03/05 14:52:27
Done.
|
loadCustomFilters(filters); |
}); |
} |