]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Fix bug where joyride fails to scroll up for next tip 3921/head
authorGeorge <george@gsgd.co.uk>
Wed, 18 Dec 2013 16:35:41 +0000 (16:35 +0000)
committerGeorge <george@gsgd.co.uk>
Wed, 18 Dec 2013 16:35:41 +0000 (16:35 +0000)
commit7b95088338998b1ba39e1ecdf3f2450b5ddff385
tree8a0e5c6da275d05f8f55358ff72f34fcfcb7698a
parentd2afb9eed196027c42f8b60c38ee09323a170187
Fix bug where joyride fails to scroll up for next tip

If the next tip is higher on the page than current tip a negative tipOffset results in joyride not scrolling to show position of the next tip. This commit fixes that behaviour by scrolling unless tipOffset is 0 which I assume is intended behaviour
js/foundation/foundation.joyride.js