diff options
| author | XhmikosR <[email protected]> | 2020-06-26 18:50:04 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-07-12 15:52:25 +0300 |
| commit | 6d86b140f96049661675cfd83d219b4b82385e36 (patch) | |
| tree | 6b7d5aad12ec8c71067bd623db3b28c164da039f /js/src/dropdown.js | |
| parent | a67231ae1c352c37a278ac501d7ffb91b1eb20c7 (diff) | |
| download | bootstrap-6d86b140f96049661675cfd83d219b4b82385e36.tar.xz bootstrap-6d86b140f96049661675cfd83d219b4b82385e36.zip | |
Add parentheses around multiple spread conditions
Diffstat (limited to 'js/src/dropdown.js')
| -rw-r--r-- | js/src/dropdown.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/dropdown.js b/js/src/dropdown.js index 539f9e7a4..4af48cadb 100644 --- a/js/src/dropdown.js +++ b/js/src/dropdown.js @@ -303,7 +303,7 @@ class Dropdown { offset.fn = data => { data.offsets = { ...data.offsets, - ...this._config.offset(data.offsets, this._element) || {} + ...(this._config.offset(data.offsets, this._element) || {}) } return data |
