1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-27 17:48:28 +08:00
2023-01-23 14:20:29 +08:00

7 lines
470 B
JavaScript

Volcanos(chat.ONIMPORT, {_init: function(can, msg) { can.current = msg.TableDetail(), can.onimport.layout(can) },
layout: function(can) { var item = can.current; can.sup.onexport.title(can, item.name||item.link.split("?")[0])
can.page.Appends(can, can._output, [{type: html.IFRAME, src: item.link, height: can.ConfHeight(), width: can.ConfWidth(), style: {border: 0}}])
},
})
Volcanos(chat.ONACTION, {open: function(event, can) { can.user.open(can.current.link) }})