History

Fix app.views.Content#isExternalUrl

Thibaut committed 12 years ago

Commit e96b1731 parent 8cc1ff81 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
154 try $.id decodeURIComponent(hash) catch154 try $.id decodeURIComponent(hash) catch
155 155
156 isExternalUrl: (url) ->156 isExternalUrl: (url) ->
157 url?[0..3] is 'http'157 url?[0..4] in ['http:', 'https:']