diff options
| -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) |
