mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 06:44:35 +02:00
fix issue related to Object.keys and Dropdown issue
This commit is contained in:
@@ -500,7 +500,7 @@ const Modal = (($) => {
|
||||
const _config = {
|
||||
...Default,
|
||||
...$(this).data(),
|
||||
...typeof config === 'object' && config
|
||||
...typeof config === 'object' && config ? config : {}
|
||||
}
|
||||
|
||||
if (!data) {
|
||||
|
Reference in New Issue
Block a user