diff options
| author | Phil Crosby | 2013-10-25 14:15:26 -0700 |
|---|---|---|
| committer | Phil Crosby | 2013-10-25 14:15:26 -0700 |
| commit | 610ce8aaab164ace9f60d83773b382f4d7978140 (patch) | |
| tree | 8474192719715ef4d3f04af44773dc507519b6e4 | |
| parent | 6708ddac3655c92f0ef385562c46d6b5e0d047a8 (diff) | |
| parent | e62a732da4c3f7a69a58c2cb2fdfe645883ae5cd (diff) | |
| download | vimium-610ce8aaab164ace9f60d83773b382f4d7978140.tar.bz2 | |
Merge pull request #941 from lyallh/shortenUrl-https-fix
Also crop https:// off displayed url suggestions (currently only http:// cropped)
| -rw-r--r-- | background_scripts/completion.coffee | 2 |
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] == "/" |
