aboutsummaryrefslogtreecommitdiff
path: root/js/src/dropdown.js
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-05-05 21:22:55 +0200
committerJohann-S <[email protected]>2017-05-14 11:41:19 +0200
commit0ae9d28ba3e9c4f119a3ba0b370717993350be2c (patch)
treeb11d85e06c3b85bad85ce68d95384cdffd9a31f7 /js/src/dropdown.js
parentab7dc8ae2af499d752f011a1957f9f671cc93175 (diff)
downloadbootstrap-0ae9d28ba3e9c4f119a3ba0b370717993350be2c.tar.xz
bootstrap-0ae9d28ba3e9c4f119a3ba0b370717993350be2c.zip
Add fallbackPlacement option for Tooltip and Popover
Diffstat (limited to 'js/src/dropdown.js')
-rw-r--r--js/src/dropdown.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/dropdown.js b/js/src/dropdown.js
index 71247728a..1da2098dd 100644
--- a/js/src/dropdown.js
+++ b/js/src/dropdown.js
@@ -157,7 +157,8 @@ const Dropdown = (($) => {
offset : context._config.offset
},
flip : {
- enabled : context._config.flip
+ enabled : context._config.flip,
+ behavior : [AttachmentMap.TOP, AttachmentMap.BOTTOM]
}
}
})