From 50e4194769f6e01d2d5428fe07c8eb6cfb7151be Mon Sep 17 00:00:00 2001 From: shaoying Date: Sun, 26 Jun 2022 11:36:54 +0800 Subject: [PATCH] opt some --- frame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame.js b/frame.js index 7ca621c3..b6642340 100644 --- a/frame.js +++ b/frame.js @@ -34,7 +34,7 @@ Volcanos("onengine", {help: "搜索引擎", list: [], _init: function(can, meta, }), can.core.CallFunc([panel.onaction, "_init"], {can: panel, cb: next, target: panel._target}) }, target) }, function() { - can.user.title(location.hostname) + can.user.title(location.host) can.misc.Log(can.user.title(), ice.RUN, can) can.require([can.volcano], null, function(can, name, sub) { can[name] = sub }) can.onlayout.topic(can), can.onmotion._init(can, target), can.onkeymap._init(can)