summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-09-21 13:34:09 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-09-21 13:34:09 +0200
commitddff5b8afe18442ebea1e67bd6f77310b5bf9f0f (patch)
tree65d6121d2e2edceccda8edd05a933ca8e644dfe3 /public
parent05b76ba874fa36724c9778c581b83f68a6f6fe1b (diff)
downloadnorsk-urskog-registrations-ddff5b8afe18442ebea1e67bd6f77310b5bf9f0f.tar.gz
norsk-urskog-registrations-ddff5b8afe18442ebea1e67bd6f77310b5bf9f0f.tar.bz2
norsk-urskog-registrations-ddff5b8afe18442ebea1e67bd6f77310b5bf9f0f.zip
Only show add song button if javascript enabled.
Diffstat (limited to 'public')
-rw-r--r--public/regform.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/regform.js b/public/regform.js
index bcea7fa..332557d 100644
--- a/public/regform.js
+++ b/public/regform.js
@@ -4,6 +4,7 @@ document.addEventListener("DOMContentLoaded", function() {
};
for (let toggler of document.getElementsByClassName('add-song-button')) {
+ toggler.classList.remove('collapsed');
toggler.onclick = function() {
this.style.display = "none";
let n = toggler.dataset.songNumber;