Explorar el Código

Fix app.views.Content#isExternalUrl()

Thibaut hace 12 años
padre
commit
01b82e0062
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      assets/javascripts/views/content/content.coffee

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