diff options
author | Mark Otto <markdotto@gmail.com> | 2017-01-04 22:59:07 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2017-01-04 22:59:07 +0300 |
commit | 0015da793aa446658b660894f26f86d00221f980 (patch) | |
tree | 65f6e592557efe5b7cd8834dcb6ed5e78dc8bbff /js/dist/scrollspy.js | |
parent | d1b742f228419b2ab9f5943c686e039f0e1457bc (diff) |
grunt
Diffstat (limited to 'js/dist/scrollspy.js')
-rw-r--r-- | js/dist/scrollspy.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/dist/scrollspy.js b/js/dist/scrollspy.js index 803b347e2c..1fa7baba1c 100644 --- a/js/dist/scrollspy.js +++ b/js/dist/scrollspy.js @@ -175,7 +175,7 @@ var ScrollSpy = function ($) { }; ScrollSpy.prototype._getScrollTop = function _getScrollTop() { - return this._scrollElement === window ? this._scrollElement.scrollY : this._scrollElement.scrollTop; + return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop; }; ScrollSpy.prototype._getScrollHeight = function _getScrollHeight() { |