summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/regform.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/public/regform.js b/public/regform.js
index 98b4b8e..197034e 100644
--- a/public/regform.js
+++ b/public/regform.js
@@ -11,17 +11,9 @@ function fetch(url, id) {
}
window.onload = function() {
- var num_members = 0;
var num_songs = 0;
-
- var add_member_button = document.getElementById('add-member-button');
var add_song_button = document.getElementById('add-song-button');
- add_member_button.onclick = function() {
- num_members += 1;
- fetch(window.location + '/member/new/' + num_members, 'form-members');
- };
-
add_song_button.onclick = function() {
num_songs += 1;
fetch(window.location + '/song/new/' + num_songs, 'form-songs');