mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
6c297a9192
commit
39e710dbc4
@ -215,6 +215,7 @@ Volcanos("misc", {help: "通信协议", Message: function(event, can) { var msg
|
|||||||
}),
|
}),
|
||||||
MergeURL: shy("地址链接", function(can, objs, clear) {
|
MergeURL: shy("地址链接", function(can, objs, clear) {
|
||||||
var path = location.pathname; objs._path && (path = objs._path, delete(objs._path))
|
var path = location.pathname; objs._path && (path = objs._path, delete(objs._path))
|
||||||
|
objs && objs.pod && (path = "/chat/pod/"+objs.pod, delete(objs.pod))
|
||||||
return can.base.MergeURL(location.origin+path+(clear?"":location.search), objs)
|
return can.base.MergeURL(location.origin+path+(clear?"":location.search), objs)
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user