|
@@ -11,10 +11,15 @@ export default (o) => {
|
|
|
|
|
|
return html`
|
|
return html`
|
|
<form class="sendXMPPMessage">
|
|
<form class="sendXMPPMessage">
|
|
- <input type="text" placeholder="${label_spoiler_hint || ''}" value="${o.hint_value || ''}" class="${o.composing_spoiler ? '' : 'hidden'} spoiler-hint"/>
|
|
|
|
|
|
+ <input type="text"
|
|
|
|
+ enterkeyhint="send"
|
|
|
|
+ placeholder="${label_spoiler_hint || ''}"i
|
|
|
|
+ value="${o.hint_value || ''}"
|
|
|
|
+ class="${o.composing_spoiler ? '' : 'hidden'} spoiler-hint"/>
|
|
<textarea
|
|
<textarea
|
|
autofocus
|
|
autofocus
|
|
type="text"
|
|
type="text"
|
|
|
|
+ enterkeyhint="send"
|
|
@drop=${o.onDrop}
|
|
@drop=${o.onDrop}
|
|
@input=${resetElementHeight}
|
|
@input=${resetElementHeight}
|
|
@keydown=${o.onKeyDown}
|
|
@keydown=${o.onKeyDown}
|