mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 06:44:35 +02:00
Add parentheses around multiple spread conditions
This commit is contained in:
@@ -544,7 +544,7 @@ class Modal {
|
||||
const _config = {
|
||||
...Default,
|
||||
...Manipulator.getDataAttributes(this),
|
||||
...typeof config === 'object' && config ? config : {}
|
||||
...(typeof config === 'object' && config ? config : {})
|
||||
}
|
||||
|
||||
if (!data) {
|
||||
|
Reference in New Issue
Block a user