Skip to content

Commit c6f014d

Browse files
committed
Edits to file as suggested by Mitch
(minor)
1 parent dd5a4b3 commit c6f014d

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

app/views/event_attendances/index.html.erb

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h3 class="pre-title"><%= @event.name %></h3>
22
<h1><%=h @audience.to_s %> Attendance</h1>
3-
3+
44
<table class="attendees">
55
<thead>
66
<tr>
@@ -69,11 +69,6 @@
6969

7070
<script type="text/javascript">
7171

72-
function filterEvents() {
73-
74-
}
75-
76-
7772
function updateShiftSelections(elem) {
7873
// get the data shift id for the filter
7974
var shiftid = elem.getAttribute("data-shift-id");
@@ -86,7 +81,6 @@ function updateShiftSelections(elem) {
8681
} else {
8782
rows.hide();
8883
}
89-
9084
updateEmailLinks();
9185
}
9286

@@ -116,7 +110,7 @@ function updateEmailLinks() {
116110
});
117111
}
118112
getAttended();
119-
emailsAttended = emailsAttended.splice(',').join(',');
113+
emailsAttended = emailsAttended.join(',');
120114
$('#attended_email_link').attr("href", "mailto:" + emailsAttended);
121115
}
122116

0 commit comments

Comments
 (0)