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:
authorJohann-S <johann.servoire@gmail.com>2018-04-13 12:52:12 +0300
committerJohann-S <johann.servoire@gmail.com>2018-04-13 19:59:30 +0300
commitba10b63c9da3c0fab5611e8001e490af527b8c7a (patch)
tree1f2232242d0c22509c99e4e3c298e7b351cecf91 /js/src/tooltip.js
parentc3caf7ee4e1e6403169ec36e1b1bef36f894c16a (diff)
fix issue related to Object.keys and Dropdown issue
Diffstat (limited to 'js/src/tooltip.js')
-rw-r--r--js/src/tooltip.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index f751ee3c94..59c26897c9 100644
--- a/js/src/tooltip.js
+++ b/js/src/tooltip.js
@@ -611,7 +611,7 @@ const Tooltip = (($) => {
config = {
...this.constructor.Default,
...$(this.element).data(),
- ...config
+ ...typeof config === 'object' && config ? config : {}
}
if (typeof config.delay === 'number') {