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:
Diffstat (limited to 'js/dist/dropdown.js')
-rw-r--r--js/dist/dropdown.js17
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
};