mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 23:42:39 +01:00
code review re. https://github.com/gorhill/uBlock/issues/134: no need to force a recompile of whole user filter list
This commit is contained in:
parent
84f974766e
commit
803a0c54f5
@ -159,7 +159,7 @@
|
||||
|
||||
var µb = this;
|
||||
|
||||
var onCompiledListLoaded = function() {
|
||||
var onSaved = function() {
|
||||
var compiledFilters = µb.compileFilters(filters);
|
||||
var snfe = µb.staticNetFilteringEngine;
|
||||
var cfe = µb.cosmeticFilteringEngine;
|
||||
@ -176,13 +176,6 @@
|
||||
µb.cosmeticFilteringEngine.freeze();
|
||||
};
|
||||
|
||||
var onSaved = function(details) {
|
||||
if ( details.error ) {
|
||||
return;
|
||||
}
|
||||
µb.getCompiledFilterList(µb.userFiltersPath, onCompiledListLoaded);
|
||||
};
|
||||
|
||||
var onLoaded = function(details) {
|
||||
if ( details.error ) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user