Fossil SCM
chat: home/end navigation buttons now unconditionally start toggled off, as they're rarely useful.
Commit
b19081f3a396e00b03d47ca03e7931f12e07cf5146b2d172f7ac4f4f33aab3ce
Parent
2f0bf9dabd4f4c6…
2 files changed
+2
-2
-1
+2
-2
| --- src/chat.c | ||
| +++ src/chat.c | ||
| @@ -163,12 +163,12 @@ | ||
| 163 | 163 | @ placeholder="Type message here." autocomplete="off"> |
| 164 | 164 | @ <textarea rows="8" id="chat-input-multi" \ |
| 165 | 165 | @ placeholder="Type message here. Ctrl-Enter sends it." \ |
| 166 | 166 | @ class="hidden"></textarea> |
| 167 | 167 | @ <input type="submit" value="Send" id="chat-message-submit"> |
| 168 | - @ <button id="chat-scroll-top">↑</button> | |
| 169 | - @ <button id="chat-scroll-bottom">↓</button> | |
| 168 | + @ <button id="chat-scroll-top" class="hidden">↑</button> | |
| 169 | + @ <button id="chat-scroll-bottom" class="hidden">↓</button> | |
| 170 | 170 | @ <span id="chat-settings-button" class="settings-icon" \ |
| 171 | 171 | @ aria-label="Settings..." aria-haspopup="true" ></span> |
| 172 | 172 | @ </div> |
| 173 | 173 | @ <div id='chat-input-file-area'> |
| 174 | 174 | @ <div class='file-selection-wrapper'> |
| 175 | 175 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -163,12 +163,12 @@ | |
| 163 | @ placeholder="Type message here." autocomplete="off"> |
| 164 | @ <textarea rows="8" id="chat-input-multi" \ |
| 165 | @ placeholder="Type message here. Ctrl-Enter sends it." \ |
| 166 | @ class="hidden"></textarea> |
| 167 | @ <input type="submit" value="Send" id="chat-message-submit"> |
| 168 | @ <button id="chat-scroll-top">↑</button> |
| 169 | @ <button id="chat-scroll-bottom">↓</button> |
| 170 | @ <span id="chat-settings-button" class="settings-icon" \ |
| 171 | @ aria-label="Settings..." aria-haspopup="true" ></span> |
| 172 | @ </div> |
| 173 | @ <div id='chat-input-file-area'> |
| 174 | @ <div class='file-selection-wrapper'> |
| 175 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -163,12 +163,12 @@ | |
| 163 | @ placeholder="Type message here." autocomplete="off"> |
| 164 | @ <textarea rows="8" id="chat-input-multi" \ |
| 165 | @ placeholder="Type message here. Ctrl-Enter sends it." \ |
| 166 | @ class="hidden"></textarea> |
| 167 | @ <input type="submit" value="Send" id="chat-message-submit"> |
| 168 | @ <button id="chat-scroll-top" class="hidden">↑</button> |
| 169 | @ <button id="chat-scroll-bottom" class="hidden">↓</button> |
| 170 | @ <span id="chat-settings-button" class="settings-icon" \ |
| 171 | @ aria-label="Settings..." aria-haspopup="true" ></span> |
| 172 | @ </div> |
| 173 | @ <div id='chat-input-file-area'> |
| 174 | @ <div class='file-selection-wrapper'> |
| 175 |
-1
| --- src/chat.js | ||
| +++ src/chat.js | ||
| @@ -410,11 +410,10 @@ | ||
| 410 | 410 | for mobile chat apps but can be difficult to read in wide |
| 411 | 411 | windows (desktop/tablet landscape mode), so we default to a |
| 412 | 412 | layout based on the apparently "orientation" of the window: |
| 413 | 413 | tall vs wide. Can be toggled via settings popup. */ |
| 414 | 414 | document.body.classList.add('my-messages-right'); |
| 415 | - cs.toggleNavButtons(false); | |
| 416 | 415 | } |
| 417 | 416 | if(cs.settings.getBool('monospace-messages',false)){ |
| 418 | 417 | document.body.classList.add('monospace-messages'); |
| 419 | 418 | } |
| 420 | 419 | cs.inputMultilineMode(cs.settings.getBool('edit-multiline',false)); |
| 421 | 420 |
| --- src/chat.js | |
| +++ src/chat.js | |
| @@ -410,11 +410,10 @@ | |
| 410 | for mobile chat apps but can be difficult to read in wide |
| 411 | windows (desktop/tablet landscape mode), so we default to a |
| 412 | layout based on the apparently "orientation" of the window: |
| 413 | tall vs wide. Can be toggled via settings popup. */ |
| 414 | document.body.classList.add('my-messages-right'); |
| 415 | cs.toggleNavButtons(false); |
| 416 | } |
| 417 | if(cs.settings.getBool('monospace-messages',false)){ |
| 418 | document.body.classList.add('monospace-messages'); |
| 419 | } |
| 420 | cs.inputMultilineMode(cs.settings.getBool('edit-multiline',false)); |
| 421 |
| --- src/chat.js | |
| +++ src/chat.js | |
| @@ -410,11 +410,10 @@ | |
| 410 | for mobile chat apps but can be difficult to read in wide |
| 411 | windows (desktop/tablet landscape mode), so we default to a |
| 412 | layout based on the apparently "orientation" of the window: |
| 413 | tall vs wide. Can be toggled via settings popup. */ |
| 414 | document.body.classList.add('my-messages-right'); |
| 415 | } |
| 416 | if(cs.settings.getBool('monospace-messages',false)){ |
| 417 | document.body.classList.add('monospace-messages'); |
| 418 | } |
| 419 | cs.inputMultilineMode(cs.settings.getBool('edit-multiline',false)); |
| 420 |