diff options
| author | Phil Crosby | 2013-05-07 09:40:26 -0700 | 
|---|---|---|
| committer | Phil Crosby | 2013-05-07 09:40:26 -0700 | 
| commit | c7180d197a88b670da694cb9502441f2edab51f0 (patch) | |
| tree | 18471811579f196a97879a2eec41ceb2e44074a1 /background_scripts | |
| parent | c4d4811fbab14ce14c908ec0806bc92ca4aa7a4c (diff) | |
| download | vimium-c7180d197a88b670da694cb9502441f2edab51f0.tar.bz2 | |
Tweak to make if statement positively formed
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/main.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 54bf2882..71f963b2 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -84,7 +84,7 @@ root.addExcludedUrl = (url) ->    return unless url = url.trim()    excludedUrls = Settings.get("excludedUrls") -  return unless excludedUrls.indexOf(url) < 0 +  return if excludedUrls.indexOf(url) >= 0    excludedUrls += "\n" + url    Settings.set("excludedUrls", excludedUrls)  | 
