Fix app.views.Content#isExternalUrl()

pull/47/head
Thibaut 11 years ago
parent 94ac236f9b
commit 01b82e0062

@ -154,4 +154,4 @@ class app.views.Content extends app.View
try $.id decodeURIComponent(hash) catch
isExternalUrl: (url) ->
url?[0..4] in ['http:', 'https:']
url?[0..5] in ['http:/', 'https:']

Loading…
Cancel
Save