X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=3021613698b926a68c64f26668b4c9c94faba812;hb=e19ba01834625d96835b3adf385a1defc48f4166;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) == '/') {