// Get the first hasgh, remove the # character
var hash = window.location.hash.substring(1);
- if (hash === 'add-note'){
+ if (hash === 'upload-note'){
$('#add-note-form').show();
$('#add-note-btn').hide();
}
<td class="note-count slim"> {{ course.file_count }} </td>
<td class="school-name"> {{ course.school.name }} </td>
<td class="course-name"> <a href="{{ course.get_absolute_url }}">{{ course.name }}</a> </td>
- <td class="upload"> <div class="upload"><a href="{{ course.get_absolute_url }}#add-note"><i class="icon-upload"></i></a></div></td>
+ <td class="upload"> <div class="upload"><a href="{{ course.get_absolute_url }}#upload-note"><i class="icon-upload"></i></a></div></td>
<td class="instructor-name"> {{ course.instructor_name }} </td>
</tr>
{% endfor %}