aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/completion.coffee
diff options
context:
space:
mode:
authorLyall Hamilton2013-10-17 15:48:33 +1300
committerLyall Hamilton2013-10-17 15:48:33 +1300
commite62a732da4c3f7a69a58c2cb2fdfe645883ae5cd (patch)
tree8474192719715ef4d3f04af44773dc507519b6e4 /background_scripts/completion.coffee
parent6708ddac3655c92f0ef385562c46d6b5e0d047a8 (diff)
downloadvimium-e62a732da4c3f7a69a58c2cb2fdfe645883ae5cd.tar.bz2
Fix to hide https:// from displayed urls hot just http://
Diffstat (limited to 'background_scripts/completion.coffee')
-rw-r--r--background_scripts/completion.coffee2
1 files changed, 1 insertions, 1 deletions
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
</div>
"""
- 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] == "/"