diff --git a/src/js/hopscotch.js b/src/js/hopscotch.js index 88572416..5bb3fd38 100644 --- a/src/js/hopscotch.js +++ b/src/js/hopscotch.js @@ -1464,7 +1464,7 @@ // Use jQuery if it exists else if (hasJquery) { - jQuery('body, html').animate({ scrollTop: scrollToVal }, getOption('scrollDuration'), cb); + jQuery('body').animate({ scrollTop: scrollToVal }, getOption('scrollDuration'), cb); } // Use my crummy setInterval scroll solution if we're using plain, vanilla Javascript. @@ -2435,4 +2435,4 @@ return winHopscotch; -}))); \ No newline at end of file +})));