From 707b17efe35c6ceafad0adcd898f311a2c7bdd28 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Fri, 24 Jan 2025 23:09:46 +0100 Subject: [PATCH] Rename help param to config --- pages/overlay.templ | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/overlay.templ b/pages/overlay.templ index 6788717..680b006 100644 --- a/pages/overlay.templ +++ b/pages/overlay.templ @@ -120,14 +120,14 @@ templ Overlay(lnurl string, lnaddr string) { enableDrag("zap-container", "zapX", "zapY") // hide 'zap messages will show up here' if query param given - function showHelpers() { + function showControls() { document.querySelector('#zap-template').style.display = "flex"; document.querySelector('#controls').style.display = "grid"; } const params = new URLSearchParams(window.location.search) - if (params.has("help", 1)) { - showHelpers() + if (params.has("config", 1)) { + showControls() } function enableSlider(sliderId, elementId, param, onChange) {