1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 08:48:06 +08:00

fix share

This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-12-07 08:57:31 +08:00
parent bbb85952d7
commit 4712feea55

View File

@ -121,7 +121,7 @@ Volcanos(chat.ONACTION, {_init: function(can) {},
can.onaction.carte(can.request(event, {_style: "header avatar"}), can, [`<img src="${src}">`])
},
usernick: function(event, can) { can.onaction.carte(can.request(event, {_style: "header usernick"}), can, can.onaction._menus) },
shareuser: function(event, can) { can.user.share(can, can.request(event), [ctx.ACTION, chat.SHARE, mdb.TYPE, aaa.LOGIN, mdb.NAME, can.user.title(), mdb.TEXT, location.href]) },
shareuser: function(event, can) { can.user.share(can, can.request(event), [ctx.ACTION, chat.SHARE, mdb.TYPE, aaa.LOGIN, mdb.NAME, can.user.title()]) },
theme: function(event, can) { can.page.Select(can, can._output, "div.item.theme>i:first-child", function(target) {
can.onimport.theme(can, can.onimport._theme(can, target.className == icon.SUN? html.DARK: html.LIGHT))
}) },