X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=8f3253c142d2d82e33d65a2a88946fb4b718ba73;hb=fc19a0f063cf2e544a61a58b4ac31254f91d6ba5;hp=7dcf92225a2630f9f6805e31a541eb6d32ac142f;hpb=9878243b4e002b50ee444cf906b9e13faba4fe01;p=brisk.git diff --git a/web/commons.js b/web/commons.js index 7dcf922..8f3253c 100644 --- a/web/commons.js +++ b/web/commons.js @@ -1393,7 +1393,8 @@ function url_complete(parent, url) } // alert("host: ["+host+"] path: ["+path+"]"); - if (url.substring(0,6) == 'http:/' || url.substring(0,7) == 'https:/' || url.substring(0,4) == 'ws:/') { + console.log('URL: ' + url); + if (url.substring(0,6) == 'http:/' || url.substring(0,7) == 'https:/' || url.substring(0,4) == 'ws:/' || url.substring(0,5) == 'wss:/') { return (url); } else if (url.substring(0,1) == '/') {