mirror of
https://shylinux.com/x/volcanos
synced 2025-04-26 01:04:06 +08:00
fix share
This commit is contained in:
parent
bbb85952d7
commit
4712feea55
@ -121,7 +121,7 @@ Volcanos(chat.ONACTION, {_init: function(can) {},
|
|||||||
can.onaction.carte(can.request(event, {_style: "header avatar"}), can, [`<img src="${src}">`])
|
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) },
|
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) {
|
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))
|
can.onimport.theme(can, can.onimport._theme(can, target.className == icon.SUN? html.DARK: html.LIGHT))
|
||||||
}) },
|
}) },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user