1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-27 07:14:36 +02:00

fix issue related to Object.keys and Dropdown issue

This commit is contained in:
Johann-S
2018-04-13 11:52:12 +02:00
parent c3caf7ee4e
commit ba10b63c9d
5 changed files with 39 additions and 39 deletions

View File

@@ -165,7 +165,7 @@ const ScrollSpy = (($) => {
_getConfig(config) {
config = {
...Default,
...config
...typeof config === 'object' && config ? config : {}
}
if (typeof config.target !== 'string') {