1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 11:21:23 +02:00

npm build

This commit is contained in:
Mark Otto
2017-07-04 11:55:16 -07:00
parent a662f85398
commit 2a745e54de
7 changed files with 85 additions and 97 deletions

12
js/dist/dropdown.js vendored
View File

@@ -231,8 +231,6 @@ var Dropdown = function ($) {
};
Dropdown.prototype._getPopperConfig = function _getPopperConfig() {
var _this2 = this;
var popperConfig = {
placement: this._getPlacement(),
modifiers: {
@@ -245,14 +243,10 @@ var Dropdown = function ($) {
}
};
// Disable Popper.js for Dropdown in Navbar
if (this._inNavbar) {
popperConfig.modifiers.AfterApplyStyle = {
enabled: true,
order: 901, // ApplyStyle order + 1
fn: function fn() {
// reset Popper styles
$(_this2._menu).attr('style', '');
}
popperConfig.modifiers.applyStyle = {
enabled: !this._inNavbar
};
}
return popperConfig;

File diff suppressed because one or more lines are too long