Fixed Magellan issue when target does not exist.
Prevent any scrolling action when the target of the clicked link does not exist. Previously the `.getOffset().top` created an JS error because `Cannot read property 'top' of undefined`. Also added a basic test for scrolling and a test for the graceful failing when the target does not exist.
Loading
Please sign in to comment