Commit 3cd1b0d1 authored by Marius Olbertz's avatar Marius Olbertz
Browse files

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.
parent 87f08d9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment