Kaynağa Gözat

Fix app.views.Content#isExternalUrl()

Thibaut 12 yıl önce
ebeveyn
işleme
01b82e0062

+ 1 - 1
assets/javascripts/views/content/content.coffee

@@ -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:']