diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-07-14 17:46:55 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-09-21 14:58:34 +0300 |
commit | 31eb1088112567035d27c82649a9b909b392daf9 (patch) | |
tree | 34ba49d167ee3c4612fe196538514603babdace7 /js/src/dropdown.js | |
parent | b31046aab36ea1e476ff384f585ef650c8158d1e (diff) |
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 5e3ed4c56e..1f2b03877c 100644 --- a/js/src/dropdown.js +++ b/js/src/dropdown.js @@ -308,7 +308,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 |