mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-08 22:56:46 +02:00
grunt test-js, grunt dist-js now working
This commit is contained in:
2
js/dist/scrollspy.js
vendored
2
js/dist/scrollspy.js
vendored
@@ -64,7 +64,7 @@ var ScrollSpy = (function ($) {
|
||||
this._activeTarget = null;
|
||||
this._scrollHeight = 0;
|
||||
|
||||
$(this._scrollElement).on(Event.SCROLL, this._process.bind(this));
|
||||
$(this._scrollElement).on(Event.SCROLL, $.proxy(this._process, this));
|
||||
|
||||
this.refresh();
|
||||
this._process();
|
||||
|
Reference in New Issue
Block a user