History

Fix app.views.Content#isExternalUrl()

Thibaut committed 12 years ago

Commit 01b82e01 parent 94ac2361 file · +1 −1Browse files

Unified · Split

assets/javascripts/views/content/content.coffee+1−1
@@ -154,4 +154,4 @@ class app.views.Content extends app.View · 153 unmodified lines
154154 try $.id decodeURIComponent(hash) catch
155155
156156 isExternalUrl: (url) ->
157− url?[0..4] in ['http:', 'https:']
157+ url?[0..5] in ['http:/', 'https:']