Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-07-14 17:46:55 +0300
committerXhmikosR <xhmikosr@gmail.com>2020-09-21 14:58:34 +0300
commit31eb1088112567035d27c82649a9b909b392daf9 (patch)
tree34ba49d167ee3c4612fe196538514603babdace7 /js/src/dropdown.js
parentb31046aab36ea1e476ff384f585ef650c8158d1e (diff)
Add parentheses around multiple spread conditions
Diffstat (limited to 'js/src/dropdown.js')
-rw-r--r--js/src/dropdown.js2
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