From 117ebc4ac35364881414e1a8c215b551c9591a7d Mon Sep 17 00:00:00 2001 From: Adrian Victor Date: Sat, 4 Jul 2026 15:18:44 -0300 Subject: [PATCH] Change 88x31 macro to make click zoom optional. --- _includes/macros.njk | 4 ++-- index.njk | 2 +- static/scripts/88x31.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_includes/macros.njk b/_includes/macros.njk index 88d9def..908de05 100644 --- a/_includes/macros.njk +++ b/_includes/macros.njk @@ -1,6 +1,6 @@ -{% macro i88x31(link, alt=link) %} +{% macro i88x31(link, alt=link, interactive=true) %} = - {{ i88x31("mrnandokk.gif", i18n[langKey].mrnandoChannel) }} + {{ i88x31("mrnandokk.gif", i18n[langKey].mrnandoChannel, false) }}
diff --git a/static/scripts/88x31.js b/static/scripts/88x31.js index 32e37d1..9ba53b1 100644 --- a/static/scripts/88x31.js +++ b/static/scripts/88x31.js @@ -1,4 +1,4 @@ -const images = document.querySelectorAll(".i88x31"); +const images = document.querySelectorAll(".i88x31i"); images.forEach(image => { image.addEventListener("click", () => {