From 0d8889934d8026f17b2f6119ff6d42f3267549be Mon Sep 17 00:00:00 2001 From: Chris Ferdinandi Date: Sat, 4 Jan 2014 21:04:05 -0500 Subject: [PATCH] Change `offsetHeight` to `scrollHeight` to fix fixed/absolute positioning issues. https://github.com/cferdinandi/smooth-scroll/pull/14 --- README.md | 2 ++ smooth-scroll.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 89b0be8..6075344 100755 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ A simple script to animate scrolling to anchor links. Easing support contributed Getting started with Smooth Scroll is really easy. [View the online tutorial](http://cferdinandi.github.com/smooth-scroll/) or dig through the `index.html` file. ## Changelog +* v2.11 (January 4, 2013) + * [Change `offsetHeight` to `scrollHeight` to fix fixed/absolute positioning issues.](https://github.com/cferdinandi/smooth-scroll/pull/14) * v2.10 (December 31, 2013) * [Added URL history support.](https://github.com/cferdinandi/smooth-scroll/pull/17) * v2.9 (December 9, 2013) diff --git a/smooth-scroll.js b/smooth-scroll.js index 32822b5..339691d 100755 --- a/smooth-scroll.js +++ b/smooth-scroll.js @@ -1,6 +1,6 @@ /* ============================================================= - Smooth Scroll 2.10 + Smooth Scroll 2.11 Animate scrolling to anchor links, by Chris Ferdinandi. http://gomakethings.com