Fossil SCM
In chat multi-line mode, the 'placeholder' text now mentions that Ctrl-Enter sends the message.
Commit
16ba05da98fc290b7fcfb802000828508c33ecdf63d9284a153005c0bca2c06a
Parent
bc593ea0422fe5e…
1 file changed
+2
-1
+2
-1
| --- src/chat.c | ||
| +++ src/chat.c | ||
| @@ -118,11 +118,12 @@ | ||
| 118 | 118 | @ <div id='chat-input-area'> |
| 119 | 119 | @ <div id='chat-input-line'> |
| 120 | 120 | @ <input type="text" name="msg" id="chat-input-single" \ |
| 121 | 121 | @ placeholder="Type message here." autocomplete="off"> |
| 122 | 122 | @ <textarea rows="8" id="chat-input-multi" \ |
| 123 | - @ placeholder="Type message here" class="hidden"></textarea> | |
| 123 | + @ placeholder="Type message here. Ctrl-Enter sends it." \ | |
| 124 | + @ class="hidden"></textarea> | |
| 124 | 125 | @ <input type="submit" value="Send" id="chat-message-submit"> |
| 125 | 126 | @ <button id="chat-scroll-top">↑</button> |
| 126 | 127 | @ <button id="chat-scroll-bottom">↓</button> |
| 127 | 128 | @ <span id="chat-settings-button" class="settings-icon" \ |
| 128 | 129 | @ aria-label="Settings..." aria-haspopup="true" ></span> |
| 129 | 130 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -118,11 +118,12 @@ | |
| 118 | @ <div id='chat-input-area'> |
| 119 | @ <div id='chat-input-line'> |
| 120 | @ <input type="text" name="msg" id="chat-input-single" \ |
| 121 | @ placeholder="Type message here." autocomplete="off"> |
| 122 | @ <textarea rows="8" id="chat-input-multi" \ |
| 123 | @ placeholder="Type message here" class="hidden"></textarea> |
| 124 | @ <input type="submit" value="Send" id="chat-message-submit"> |
| 125 | @ <button id="chat-scroll-top">↑</button> |
| 126 | @ <button id="chat-scroll-bottom">↓</button> |
| 127 | @ <span id="chat-settings-button" class="settings-icon" \ |
| 128 | @ aria-label="Settings..." aria-haspopup="true" ></span> |
| 129 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -118,11 +118,12 @@ | |
| 118 | @ <div id='chat-input-area'> |
| 119 | @ <div id='chat-input-line'> |
| 120 | @ <input type="text" name="msg" id="chat-input-single" \ |
| 121 | @ placeholder="Type message here." autocomplete="off"> |
| 122 | @ <textarea rows="8" id="chat-input-multi" \ |
| 123 | @ placeholder="Type message here. Ctrl-Enter sends it." \ |
| 124 | @ class="hidden"></textarea> |
| 125 | @ <input type="submit" value="Send" id="chat-message-submit"> |
| 126 | @ <button id="chat-scroll-top">↑</button> |
| 127 | @ <button id="chat-scroll-bottom">↓</button> |
| 128 | @ <span id="chat-settings-button" class="settings-icon" \ |
| 129 | @ aria-label="Settings..." aria-haspopup="true" ></span> |
| 130 |