X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=29f60560a5415bf778c0daf5bc35aa071e388e04;hb=302c97f7ac81dfcc6fc8d8d44359f4f432e4618a;hp=7dcf92225a2630f9f6805e31a541eb6d32ac142f;hpb=2a36c945e6c9107f400dfb24d57c682f1c7f49e2;p=brisk.git diff --git a/web/commons.js b/web/commons.js index 7dcf922..29f6056 100644 --- a/web/commons.js +++ b/web/commons.js @@ -430,11 +430,6 @@ function act_roadmap() send_mesg("roadmap"); } -function act_whysupport() -{ - send_mesg("whysupport"); -} - function act_lascio() { send_mesg("lascio"); @@ -1038,7 +1033,7 @@ function user_decorator(user, is_real) for (i = 0 ; i < 4 ; i++) { if (flags & (1 << i)) { - cl += sp + "au" + i; + cl += sp + "au" + i + (is_real ? "" : "_off"); sp = " "; } } @@ -1393,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) == '/') {