Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: js/desktop-options.js

Issue 29712599: Issue 6420 - Fixed poping up whitelisted website notification for several custom filter lists (Closed)
Patch Set: Created March 1, 2018, 12:13 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
});
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld