mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-15 01:55:46 +02:00
dist
This commit is contained in:
2
js/dist/scrollspy.js
vendored
2
js/dist/scrollspy.js
vendored
@@ -146,7 +146,7 @@ var ScrollSpy = function ($) {
|
||||
|
||||
|
||||
_proto._getConfig = function _getConfig(config) {
|
||||
config = _objectSpread({}, Default, config);
|
||||
config = _objectSpread({}, Default, typeof config === 'object' && config ? config : {});
|
||||
|
||||
if (typeof config.target !== 'string') {
|
||||
var id = $(config.target).attr('id');
|
||||
|
Reference in New Issue
Block a user