projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/master' into nginx
[brisk.git]
/
web
/
commons.js
diff --git
a/web/commons.js
b/web/commons.js
index
cefb6c0
..
29f6056
100644
(file)
--- a/
web/commons.js
+++ b/
web/commons.js
@@
-1388,7
+1388,7
@@
function url_complete(parent, url)
}
// alert("host: ["+host+"] path: ["+path+"]");
}
// 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) == '/') {
return (url);
}
else if (url.substring(0,1) == '/') {