You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to 5f3cd13 adding scroll capabilities to all anchor links,
this causes the toggle buttons to jump around on the homepage.
stopPropagation will stop the event from bubbling and means that
we can keep the behaviour from 5f3cd13 without breaking the home
page.
For stopPropagation to work effectively, both home.js and main.js
need to use event delegation - so that propagation bubbles
effectively. This also offers the side benefit that there are loads
less events to bind now :)
0 commit comments