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: Addressed Thomas's comment Created March 2, 2018, 3:58 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
@@ -468,7 +468,6 @@
updateFilter(filter);
setCustomFiltersView("read");
- isCustomFiltersLoaded = true;
}
function removeCustomFilter(text)
@@ -1156,7 +1155,12 @@
},
(filters) =>
{
+ // Reset each time as there might be several custom filters
+ if (isCustomFiltersLoaded)
+ isCustomFiltersLoaded = false;
+
loadCustomFilters(filters);
+ isCustomFiltersLoaded = true;
});
}
});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld