From 6b6f6fb4e321ff35309b922047cfa2ff6328d717 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 9 Apr 2026 00:12:09 +0000 Subject: [PATCH 1/2] Initial plan From 4907788dd9e246bc0a774dbb48ab7b24d779e41e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 9 Apr 2026 00:18:57 +0000 Subject: [PATCH 2/2] Fix missing accessibility attributes on dynamic chapter rows Agent-Logs-Url: https://github.com/CyberSecDef/NovelForge/sessions/ee7eaf41-4aa6-4e66-8ab9-e00dc4ad6d20 Co-authored-by: CyberSecDef <17597068+CyberSecDef@users.noreply.github.com> --- static/js/script.js | 53 +++++++++++++++++---------------------------- 1 file changed, 20 insertions(+), 33 deletions(-) diff --git a/static/js/script.js b/static/js/script.js index 2272ffd..cc67b2a 100644 --- a/static/js/script.js +++ b/static/js/script.js @@ -626,27 +626,31 @@ $(function () { } }); - // Add chapter before - $("#chapter-tbody").on("click", ".btn-add-before", function () { - var $row = $(this).closest("tr"); - var newRow = + function buildNewChapterRowHtml() { + return ( "