Commit dfa2d175 authored by Sam Burney's avatar Sam Burney
Browse files

Javascript should only fire if pagination is required...

parent ae8818a0
......@@ -6,8 +6,6 @@
</div>
</nav>
</div>
{% endif %}
<script type="text/javascript">
$(function() {
$('.pagination').pagination({
......@@ -23,4 +21,5 @@ $(function() {
nextText: '<span aria-hidden="true">&raquo;</span>',
});
});
</script>
\ No newline at end of file
</script>
{% endif %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment