diff --git a/js/office_hours.js b/js/office_hours.js index e9a6604..c3d594f 100644 --- a/js/office_hours.js +++ b/js/office_hours.js @@ -223,7 +223,7 @@ // Show the Add-link, except if the next time slot is hidden. $('[id$=add]').bind('click', addTimeSlot); - $('[id$=add]').each(showAddLink); + $('[id$=add-more]').each(showAddLink); // Attach a function to each clear-link, to clear the slot if clicked upon. $('[id$=clear]').bind('click', clearTimeSlot);