From acbf10e570064db596f273fa345dd536e15923f4 Mon Sep 17 00:00:00 2001 From: Jukka Lampikoski Date: Thu, 12 Mar 2026 23:38:49 +0200 Subject: [PATCH] Fix: puuttuva } renderTicketPagination-funktiossa MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aiheutti SyntaxError: Unexpected end of input → koko sivu tyhjä. Co-Authored-By: Claude Opus 4.6 --- script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/script.js b/script.js index 0d8e6cd..f132b67 100644 --- a/script.js +++ b/script.js @@ -1546,6 +1546,7 @@ function renderTicketPagination(totalFiltered, totalPages) { html += `${startNum}–${endNum} / ${totalFiltered}`; paginationEl.innerHTML = html; +} document.getElementById('ticket-search-input').addEventListener('input', () => { ticketPage = 1; renderTickets(); }); document.getElementById('ticket-status-filter').addEventListener('change', () => { ticketPage = 1; renderTickets(); });