From 6d86b140f96049661675cfd83d219b4b82385e36 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 26 Jun 2020 18:50:04 +0300 Subject: Add parentheses around multiple spread conditions --- js/src/dropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/src/dropdown.js') 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 -- cgit v1.2.3