aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorPhil Crosby2013-05-07 09:37:53 -0700
committerPhil Crosby2013-05-07 09:37:53 -0700
commit31f50f199106419de04c48190f82063d3d8c329f (patch)
treee96e99536bc42d0a7a11bd1e5dd55643e8f5c701 /background_scripts
parent769be5db69f3e255a7c29d2c65ce293382a6a19e (diff)
parentcb105bc799f112e1b36930d7add73a343c3b4a99 (diff)
downloadvimium-31f50f199106419de04c48190f82063d3d8c329f.tar.bz2
Merge pull request #816 from UncleBill/master
Fix issue #772
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/main.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 6d696b49..54bf2882 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -84,6 +84,8 @@ root.addExcludedUrl = (url) ->
return unless url = url.trim()
excludedUrls = Settings.get("excludedUrls")
+ return unless excludedUrls.indexOf(url) < 0
+
excludedUrls += "\n" + url
Settings.set("excludedUrls", excludedUrls)