mirror of
https://github.com/twbs/bootstrap.git
synced 2025-10-05 01:31:39 +02:00
Add parentheses around multiple spread conditions
This commit is contained in:
@@ -151,7 +151,7 @@ class Toast {
|
||||
config = {
|
||||
...Default,
|
||||
...$(this._element).data(),
|
||||
...typeof config === 'object' && config ? config : {}
|
||||
...(typeof config === 'object' && config ? config : {})
|
||||
}
|
||||
|
||||
Util.typeCheckConfig(
|
||||
|
Reference in New Issue
Block a user