1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 08:48:06 +08:00
2023-01-20 14:50:58 +08:00

7 lines
466 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.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) }})