forked from x/volcanos
add some
This commit is contained in:
parent
9f6650df0d
commit
98916131e3
4
frame.js
4
frame.js
@ -478,6 +478,10 @@ Volcanos(chat.ONAPPEND, {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
input.onclick = item.onclick
|
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 (item.type == html.TEXT) {
|
||||||
if (!can.user.isMobile) {
|
if (!can.user.isMobile) {
|
||||||
input.placeholder = can.user.trans(can, input.placeholder||input.name, item._trans, html.INPUT)
|
input.placeholder = can.user.trans(can, input.placeholder||input.name, item._trans, html.INPUT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user