mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-27 07:14:36 +02:00
popover passing as well
This commit is contained in:
@@ -55,7 +55,7 @@ const ScrollSpy = (($) => {
|
||||
|
||||
constructor(element, config) {
|
||||
this._scrollElement = element.tagName === 'BODY' ? window : element
|
||||
this._config = $.extend({}, Defaults, config)
|
||||
this._config = $.extend({}, Default, config)
|
||||
this._selector = `${this._config.target || ''} .nav li > a`
|
||||
this._offsets = []
|
||||
this._targets = []
|
||||
|
Reference in New Issue
Block a user