max / makenotwork
- Co-Authored-By
- Claude Opus 5 (1M context) <noreply@anthropic.com>
1 file changed,
+4 insertions,
-1 deletion
| @@ -1,5 +1,8 @@ | |||
| 1 | 1 | document.getElementById('new-collection-form').addEventListener('htmx:afterOnLoad', function(evt) { | |
| 2 | 2 | if (evt.detail.xhr.status >= 200 && evt.detail.xhr.status < 300) { | |
| 3 | - | htmx.ajax('GET', '/library/tabs/collections', { target: '#tab-content', swap: 'innerHTML' }); | |
| 3 | + | // `#library-collections`, this tab's own frame. The library strip is | |
| 4 | + | // described (`6b24f2df` step 1), so `#tab-content` is the strip itself | |
| 5 | + | // and refreshing into it would replace the whole strip with one panel. | |
| 6 | + | htmx.ajax('GET', '/library/tabs/collections', { target: '#library-collections', swap: 'innerHTML' }); | |
| 4 | 7 | } | |
| 5 | 8 | }); |