1
0
forked from x/volcanos
This commit is contained in:
IT 老营长 @云轩领航-创始人 2025-01-22 16:36:36 +08:00
parent 9f6650df0d
commit 98916131e3

View File

@ -478,6 +478,10 @@ Volcanos(chat.ONAPPEND, {
}
}
input.onclick = item.onclick
if (item.type == html.PASSWORD) {
input.placeholder = can.user.trans(can, input.placeholder||input.name, item._trans, html.INPUT)
input.title = can.user.trans(can, input.title||input.placeholder||input.name, item._trans, html.INPUT)
}
if (item.type == html.TEXT) {
if (!can.user.isMobile) {
input.placeholder = can.user.trans(can, input.placeholder||input.name, item._trans, html.INPUT)