From: william-bratches Date: Sat, 22 Mar 2014 00:42:36 +0000 (-0400) Subject: fix for issue 136 X-Git-Tag: release-20150131~144^2~12^2~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f4d23d2dea9804f778eb5a4f44df92b6cb6241fc;p=oweals%2Fkarmaworld.git fix for issue 136 --- diff --git a/karmaworld/templates/courses/course_list.html b/karmaworld/templates/courses/course_list.html index a874f63..9d84d2f 100644 --- a/karmaworld/templates/courses/course_list.html +++ b/karmaworld/templates/courses/course_list.html @@ -77,17 +77,16 @@ $(document).ready(function() { }); //scrolling scripts - scrolls to top of page after scrolling between pages - $(function(){ - $('#paginate_enabled_next').click(function() { - $("#data-table-sort-by").ScrollTo();; +$(function(){ + $('#paginate_enabled_next').click(function() { + $("#data-table-sort-by").ScrollTo();; }); - $(function(){ - $('paginate_enabled_previous').click(function() { - $("#data-table-sort-by").ScrollTo();; +$(function(){ + $('paginate_enabled_previous').click(function() { + $("#data-table-sort-by").ScrollTo();; }); - - +}); {% endblock %}