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 /dist/js/bootstrap.js | |
parent | d1b742f228419b2ab9f5943c686e039f0e1457bc (diff) |
grunt
Diffstat (limited to 'dist/js/bootstrap.js')
-rw-r--r-- | dist/js/bootstrap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index eb76621f2d..20dcd36a07 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -2335,7 +2335,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() { |