Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for enabling offers on upgrade and for Setup data sharing checkboxes. #117

Merged
merged 3 commits into from Jun 27, 2018
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Fix for Setup checkbox.

  • Loading branch information
zarembsky committed Jun 27, 2018
commit 54f19b3c4296da3bf9bfced6cf44fdabd35095c1
@@ -612,7 +612,10 @@ function onMessageHandler(request, sender, callback) {
if (name === 'disableShowAlert') {
conf.show_alert = false;
} else if (name === 'updateDataCollection') {
if (!IS_CLIQZ && !IS_EDGE) conf.enable_human_web = message && true;
if (!IS_CLIQZ && !IS_EDGE) {
conf.enable_human_web = message && true;
conf.enable_offers = message && true;
}
conf.enable_metrics = message && true;
} else if (name === 'updateDisplayMode') {
conf.is_expert = message;
ProTip! Use n and p to navigate between commits in a pull request.