From f4d23d2dea9804f778eb5a4f44df92b6cb6241fc Mon Sep 17 00:00:00 2001 From: william-bratches Date: Fri, 21 Mar 2014 20:42:36 -0400 Subject: [PATCH] fix for issue 136 --- karmaworld/templates/courses/course_list.html | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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 %} -- 2.25.1