From c6a9d914df201b3d3e25a4b8bc0d9de76f40d71c Mon Sep 17 00:00:00 2001 From: DeNNiiInc Date: Sun, 28 Dec 2025 03:00:49 +1100 Subject: [PATCH] Add images gallery link handler to main.js --- main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.js b/main.js index 00174c9..b7be94b 100644 --- a/main.js +++ b/main.js @@ -116,6 +116,10 @@ function displayResults(data) { e.preventDefault(); window.open(`/waterfall.html?id=${data.id}`, '_blank'); }; + document.getElementById('view-images').onclick = (e) => { + e.preventDefault(); + window.open(`/images.html?id=${data.id}`, '_blank'); + }; } // Load content breakdown