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

Unified Diff: lib/init.js

Issue 5653480979038208: Issue 2325 - Add a way to set settings in libadblockplus for FRP and automatic updates (Closed)
Patch Set: Created April 17, 2015, 3:54 a.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
Index: lib/init.js
===================================================================
--- a/lib/init.js
+++ b/lib/init.js
@@ -26,7 +26,7 @@
if (prefsInitDone && filtersInitDone)
{
checkInitialized = function() {};
- _triggerEvent("init", require("filterStorage").FilterStorage.firstRun);
+ _triggerEvent("init", (!!firstRunDisabled ? false : require("filterStorage").FilterStorage.firstRun));
Eric 2015/05/15 19:36:13 I don't think this works correctly, or if it does,
Felix Dahlke 2015/05/28 20:42:56 Yes, I'm afraid we'll have to respect the suppress
}
}

Powered by Google App Engine
This is Rietveld