Commit 6a403e1f authored by Alain Takoudjou's avatar Alain Takoudjou Committed by Juliusz Chroboczek

Set temporary placeholder for input area.

Co-authored-by: default avatarJuliusz Chroboczek <jch@irif.fr>
parent 3faf46a1
......@@ -328,6 +328,10 @@ textarea.form-reply {
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.form-reply::placeholder {
opacity: .7;
}
.select {
display: block;
width: 100%;
......
......@@ -1481,6 +1481,11 @@ async function gotJoined(kind, group, perms, message) {
displayUsername();
setButtonsVisibility();
let input = /** @type{HTMLTextAreaElement} */
(document.getElementById('input'));
input.placeholder = 'Type /help for help';
setTimeout(() => {input.placeholder = '';}, 8000);
this.request(getSettings().request);
if(serverConnection.permissions.present && !findUpMedia('local')) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment