diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-05-05 20:44:00 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-05-05 20:44:00 -0400 |
| commit | faacbb2757ecbe947d6a6534d28da5c815f5b3ff (patch) | |
| tree | 4b5f14962e4e7cf2c0c9c640ae907f84aa2174a1 /ui/app.css | |
| parent | 713afd0b4963460cc37b3767c6b542c8c828d227 (diff) | |
Don't try to scroll the last message into view when there is no last message.
This was generating a DOM-related error viewing any empty channel:
TypeError: null is not an object (evaluating 'document.querySelector('.message-run:last-child .message:last-child').scrollIntoView')
Harmless in practice, but easily fixed and it keeps the console from filling up with natter.
Diffstat (limited to 'ui/app.css')
0 files changed, 0 insertions, 0 deletions
