mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
opt some
This commit is contained in:
parent
1b5d0525e5
commit
caf59837b7
@ -35,7 +35,8 @@ Volcanos("user", {
|
||||
reload: function(force) { (force || confirm("重新加载页面?")) && location.reload() },
|
||||
jumps: function(url) { location.href = url },
|
||||
opens: function(url) { window.openurl? window.openurl(url): (window.open(url) || (location.href = url)) },
|
||||
open: function(url) { window.open(url) || (location.href = url) },
|
||||
open: function(url) { window.open(url) },
|
||||
// open: function(url) { window.open(url) || (location.href = url) },
|
||||
close: function(url) { window.close() },
|
||||
theme: function(can, name) { can.base.isString(name) && (name = [name]) || name || [], can.user.isWindows && name.push("windows")
|
||||
can.user.isWebview && name.push(html.WEBVIEW), can.user.isMobile && name.push(html.MOBILE) && can.user.isLandscape() && name.push(html.LANDSCAPE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user