From 2e1c2e9e3244c29483b9da2518071da9a73c3aaf Mon Sep 17 00:00:00 2001 From: Sriram Hariharan Date: Thu, 10 Jan 2019 16:31:12 -0600 Subject: [PATCH] updated scroll --- js/content.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/content.js b/js/content.js index dd8afff9..d3561da3 100644 --- a/js/content.js +++ b/js/content.js @@ -85,7 +85,9 @@ $(function () { /*Handle the button clicks*/ $("tbody").on('click', '.distButton', function () { var row = $(this).closest('tr'); - $('.modal-content').stop().animate({ scrollTop: 0 }, 0); + $('.modal-content').stop().animate({ + scrollTop: 0 + }, 500); $(this).blur(); getCourseInfo(row); getDistribution();