diff options
author | Mark Otto <markdotto@gmail.com> | 2017-08-13 22:59:27 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2017-08-13 22:59:27 +0300 |
commit | 2be34d5ce9ba1e4b03e534775e692f7de0267156 (patch) | |
tree | a2e81221f9c2b2d249acac0e8395ba3be5136ac9 /js/dist/dropdown.js | |
parent | 30e27e79423255a351c0ee670b0c9aae0eb1a9ff (diff) |
dist
Diffstat (limited to 'js/dist/dropdown.js')
-rw-r--r-- | js/dist/dropdown.js | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/js/dist/dropdown.js b/js/dist/dropdown.js index 0b41280743..d88b97a4a7 100644 --- a/js/dist/dropdown.js +++ b/js/dist/dropdown.js @@ -85,14 +85,14 @@ var Dropdown = function ($) { placement: 'string', offset: '(number|string)', flip: 'boolean' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Dropdown = function () { function Dropdown(element, config) { _classCallCheck(this, Dropdown); @@ -241,9 +241,10 @@ var Dropdown = function ($) { enabled: this._config.flip } } + }; - // Disable Popper.js for Dropdown in Navbar - };if (this._inNavbar) { + // Disable Popper.js for Dropdown in Navbar + if (this._inNavbar) { popperConfig.modifiers.applyStyle = { enabled: !this._inNavbar }; |