diff --git a/src/js/storage.js b/src/js/storage.js index 618761170..71e0737f6 100644 --- a/src/js/storage.js +++ b/src/js/storage.js @@ -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;