Fossil SCM
Force bottom-up chat mode, now that the toggle is removed but it might still be set in some localStorage storage.
Commit
a6650eb776e82b6c07a40f673be34375c5ee706d165271221bc0670ec607152a
Parent
b0ab6cbd3b51690…
1 file changed
+2
+2
| --- src/chat.js | ||
| +++ src/chat.js | ||
| @@ -199,10 +199,12 @@ | ||
| 199 | 199 | windows (desktop/tablet landscape mode), so we default to a |
| 200 | 200 | layout based on the apparently "orientation" of the window: |
| 201 | 201 | tall vs wide. Can be toggled via settings popup. */ |
| 202 | 202 | document.body.classList.add('my-messages-right'); |
| 203 | 203 | } |
| 204 | + cs.settings.set("bottom-up",true) | |
| 205 | + /*force-set this for the time being: we will likely remove the other option*/; | |
| 204 | 206 | if(cs.settings.getBool("bottom-up")){ |
| 205 | 207 | document.body.classList.add('chat-bottom-up'); |
| 206 | 208 | } |
| 207 | 209 | if(cs.settings.getBool('monospace-messages',false)){ |
| 208 | 210 | document.body.classList.add('monospace-messages'); |
| 209 | 211 |
| --- src/chat.js | |
| +++ src/chat.js | |
| @@ -199,10 +199,12 @@ | |
| 199 | windows (desktop/tablet landscape mode), so we default to a |
| 200 | layout based on the apparently "orientation" of the window: |
| 201 | tall vs wide. Can be toggled via settings popup. */ |
| 202 | document.body.classList.add('my-messages-right'); |
| 203 | } |
| 204 | if(cs.settings.getBool("bottom-up")){ |
| 205 | document.body.classList.add('chat-bottom-up'); |
| 206 | } |
| 207 | if(cs.settings.getBool('monospace-messages',false)){ |
| 208 | document.body.classList.add('monospace-messages'); |
| 209 |
| --- src/chat.js | |
| +++ src/chat.js | |
| @@ -199,10 +199,12 @@ | |
| 199 | windows (desktop/tablet landscape mode), so we default to a |
| 200 | layout based on the apparently "orientation" of the window: |
| 201 | tall vs wide. Can be toggled via settings popup. */ |
| 202 | document.body.classList.add('my-messages-right'); |
| 203 | } |
| 204 | cs.settings.set("bottom-up",true) |
| 205 | /*force-set this for the time being: we will likely remove the other option*/; |
| 206 | if(cs.settings.getBool("bottom-up")){ |
| 207 | document.body.classList.add('chat-bottom-up'); |
| 208 | } |
| 209 | if(cs.settings.getBool('monospace-messages',false)){ |
| 210 | document.body.classList.add('monospace-messages'); |
| 211 |