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) {