Rename help param to config

This commit is contained in:
ekzyis 2025-01-24 23:09:46 +01:00
parent c851a8f344
commit 707b17efe3
1 changed files with 3 additions and 3 deletions

View File

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