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-06-26 18:50:04 +0300
committerXhmikosR <xhmikosr@gmail.com>2020-07-12 15:52:25 +0300
commit6d86b140f96049661675cfd83d219b4b82385e36 (patch)
tree6b7d5aad12ec8c71067bd623db3b28c164da039f /js/src/dropdown.js
parenta67231ae1c352c37a278ac501d7ffb91b1eb20c7 (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 539f9e7a44..4af48cadb8 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