From e62a732da4c3f7a69a58c2cb2fdfe645883ae5cd Mon Sep 17 00:00:00 2001 From: Lyall Hamilton Date: Thu, 17 Oct 2013 15:48:33 +1300 Subject: Fix to hide https:// from displayed urls hot just http:// --- background_scripts/completion.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'background_scripts') diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index fd41cdc8..d266f503 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -40,7 +40,7 @@ class Suggestion """ - shortenUrl: (url) -> @stripTrailingSlash(url).replace(/^http:\/\//, "") + shortenUrl: (url) -> @stripTrailingSlash(url).replace(/^https?:\/\//, "") stripTrailingSlash: (url) -> url = url.substring(url, url.length - 1) if url[url.length - 1] == "/" -- cgit v1.2.3