X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=29f60560a5415bf778c0daf5bc35aa071e388e04;hb=302c97f7ac81dfcc6fc8d8d44359f4f432e4618a;hp=cefb6c02815ee029f7f18607c104a09391efff1e;hpb=9c96c38b48ab376e202045407786dbcf553febb2;p=brisk.git diff --git a/web/commons.js b/web/commons.js index cefb6c0..29f6056 100644 --- a/web/commons.js +++ b/web/commons.js @@ -1388,7 +1388,7 @@ 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:/') { + 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) == '/') {