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
path: root/js
diff options
context:
space:
mode:
authorCatalin Zalog <xxxxxcata@yahoo.com>2017-06-08 22:57:47 +0300
committerMark Otto <markd.otto@gmail.com>2017-06-17 23:12:39 +0300
commitf640ec96622790237bf0a5659440eb726af3118b (patch)
tree6bcc98b1a25af47ae9f8e93159543929b1aafadc /js
parentaf93db294b8670dabefbe481603a74e02c84dc0a (diff)
Some .navbar .dropdown-menu optimisation (#22776)
Diffstat (limited to 'js')
-rw-r--r--js/src/dropdown.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/js/src/dropdown.js b/js/src/dropdown.js
index 9a4beae63a..86203c983d 100644
--- a/js/src/dropdown.js
+++ b/js/src/dropdown.js
@@ -251,21 +251,6 @@ const Dropdown = (($) => {
return $(this._element).closest('.navbar').length > 0
}
- _navbarPositioning() {
- const $parentNavbar = $(this._element).closest('.navbar')
- if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
- if (!$parentNavbar.hasClass('navbar-expand')) {
- return {
- position: 'static',
- transform: '',
- float: 'none'
- }
- }
- }
-
- return {}
- }
-
_getPopperConfig() {
const popperConfig = {
placement : this._getPlacement(),