X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcommons.js;h=3021613698b926a68c64f26668b4c9c94faba812;hb=c5b2fd40459b3ef6e7993a5048d4445e84b219c0;hp=4cf95dcf437c6d21b0728f6adb1e2c8eaa8d9d71;hpb=507a79a6e6c512a2b0ac0af6e067f5a8845b7d9c;p=brisk.git diff --git a/web/commons.js b/web/commons.js index 4cf95dc..3021613 100644 --- a/web/commons.js +++ b/web/commons.js @@ -1195,7 +1195,7 @@ function url_complete(parent, url) } // alert("host: ["+host+"] path: ["+path+"]"); - if (url.substring(0,6) == 'http:/' || url.substring(0,7) == 'https:/') { + if (url.substring(0,6) == 'http:/' || url.substring(0,7) == 'https:/' || url.substring(0,4) == 'ws:/') { return (url); } else if (url.substring(0,1) == '/') {