Permalink
Browse files

Making the linter happy

  • Loading branch information...
TheoBr committed Sep 14, 2017
1 parent d5141af commit 2e7fc84b62c1fd89e1c9b8df38edb27749e8e135
Showing with 1 addition and 2 deletions.
  1. +1 −2 Chrometana/js/options.js
View
@@ -16,12 +16,11 @@
if (getURLVariable("update") === "yes"){
chrome.storage.sync.get(['all_bing_searches'], function (all_bing_searches){
console.log(all_bing_searches);
if(all_bing_searches['all_bing_searches'] != null) {
if(all_bing_searches.all_bing_searches !== null) {
console.log("already set");
} else {
// Set all bing searches to redirect by default (Google policy "works by default" workaround)
save_options('all_bing_searches', true);
console.log("just set");
}
});
}

0 comments on commit 2e7fc84

Please sign in to comment.