diff options
| author | UncleBill | 2013-04-15 23:59:18 +0800 |
|---|---|---|
| committer | UncleBill | 2013-04-15 23:59:18 +0800 |
| commit | cb105bc799f112e1b36930d7add73a343c3b4a99 (patch) | |
| tree | 4e1f88098a18fefa753359f288450a590d7fdd03 /background_scripts | |
| parent | 8fec3a8a1418c548a158144f7abadba27594ac32 (diff) | |
| download | vimium-cb105bc799f112e1b36930d7add73a343c3b4a99.tar.bz2 | |
fix issue #772
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/main.coffee | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index c750162e..14e08533 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -90,6 +90,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) |
