Rename help param to config
This commit is contained in:
parent
c851a8f344
commit
707b17efe3
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue