Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Revert a /chat change, introduced in [be01315c86cd2f7d], which causes the Send button to trigger a preview update if the current view is the preview. In practice that's annoying, as the shift-enter and the preview button do the same thing and this change forces a separate click to leave preview mode. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
ec6fbe98635fa96d6cc6999a6b2290b1 |
User & Date: | stephan 2024-07-23 12:27:28 |
Context
2024-07-24
| ||
14:47 | Update the built-in SQLite to the latest 3.47.0 alpha, including the percentile() and median() extensions in the CLI. Update to the latest Pikchr version. ... (check-in: 4a26cb95 user: drh tags: trunk) | |
2024-07-23
| ||
12:27 | Revert a /chat change, introduced in [be01315c86cd2f7d], which causes the Send button to trigger a preview update if the current view is the preview. In practice that's annoying, as the shift-enter and the preview button do the same thing and this change forces a separate click to leave preview mode. ... (check-in: ec6fbe98 user: stephan tags: trunk) | |
2024-07-22
| ||
23:44 | Upgrade autosetup to upstream version 0.7.1+. Tested on 3 Linux variants with no regressions. ... (check-in: 370c2639 user: stephan tags: trunk) | |
Changes
Changes to src/fossil.page.chat.js.
︙ | ︙ | |||
1636 1637 1638 1639 1640 1641 1642 | f.spaces = /\s+$/; f.markdownContinuation = /\\\s+$/; f.spaces2 = /\s{3,}$/; } switch( this.e.currentView ){ case this.e.viewSearch: this.submitSearch(); return; | < < | 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 | f.spaces = /\s+$/; f.markdownContinuation = /\\\s+$/; f.spaces2 = /\s{3,}$/; } switch( this.e.currentView ){ case this.e.viewSearch: this.submitSearch(); return; default: break; } this.setCurrentView(this.e.viewMessages); const fd = new FormData(); const fallback = {msg: this.inputValue()}; var msg = fallback.msg; if(msg && (msg.indexOf('\n')>0 || f.spaces.test(msg))){ |
︙ | ︙ |