]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
fixes issue in sticky where calling data-sticky with no anchor points would incorrect...
authorChris Oyler <chris@zurb.com>
Wed, 23 Dec 2015 22:30:02 +0000 (14:30 -0800)
committerChris Oyler <chris@zurb.com>
Wed, 23 Dec 2015 22:30:02 +0000 (14:30 -0800)
commit746fc57c1d254f8979a4e227494e83445dc52e57
tree53f83e794ca84cf63f16eda4e5d2ca33c56eb21d
parent5f173bb7e9b528138c2a26f9ddc83d7a9f3b775d
fixes issue in sticky where calling data-sticky with no anchor points would incorrectly cause it to remain sticky only for the height of the view, not the height of the document. Remedied with a new buff to the _parsePoints method. No anchor sticky will start at 1px (minimum required) and remain sticky till the end of the document.
js/foundation.sticky.js