We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2375065 commit e2fdf5fCopy full SHA for e2fdf5f
2 files changed
donations.html
@@ -250,7 +250,7 @@ <h1>Unterstütze bitcircus101</h1>
250
}
251
252
// Show/hide map
253
- var isVisible = mapContainer.style.display !== "none";
+ var isVisible = mapContainer.style.display === "block";
254
mapContainer.style.display = isVisible
255
? "none"
256
: "block";
index.html
@@ -433,7 +433,7 @@ <h2>Kontakt</h2>
433
434
435
436
- const isVisible = mapContainer.style.display !== "none";
+ const isVisible = mapContainer.style.display === "block";
437
mapContainer.style.display = isVisible ? "none" : "block";
438
showMapBtn.textContent = isVisible
439
? "Auf Karte anzeigen"
0 commit comments