Fixes and enhancements, from issue list

This commit is contained in:
2026-03-27 21:21:17 +01:00
parent f1dda301d7
commit c22c3d713b
25 changed files with 531 additions and 111 deletions

View File

@@ -56,10 +56,11 @@ export function injectFreeRollBar(_chatLog, html) {
rollFree(pool, color, explode5)
})
// Insert between .chat-scroll and .chat-form
// Insert before the chat form — use chatForm.parentElement for AppV2 compatibility
// (in v13 parts are nested inside the app element, not direct children)
const chatForm = html.querySelector(".chat-form")
if (chatForm) {
html.insertBefore(bar, chatForm)
chatForm.parentElement.insertBefore(bar, chatForm)
} else {
html.appendChild(bar)
}