Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Fix scroll animation callback called twice #255 #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 22, 2016

  1. Fix scroll animation callback called twice

    jQuery calls the animation callback for each of the matched elements in the selector. Hopscotch was selecting both the `html` element and the `body` element for adjusting the `scrollTop` value, leading to the callback being called twice.
    
    Adjusting `scrollTop` on the `html` element seems questionable anyway, so just removing it fixes the issue.
    hpihkala committed Jun 22, 2016
    Configuration menu
    Copy the full SHA
    5b9e96f View commit details
    Browse the repository at this point in the history