Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
81708160
Commit
81708160
authored
7 years ago
by
Johann-S
Committed by
Mark Otto
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Detect if the dropdown is in a navbar or not when update is called
parent
f640ec96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/src/dropdown.js
+1
-0
js/src/dropdown.js
with
1 addition
and
0 deletions
+1
-0
js/src/dropdown.js
+
1
-
0
View file @
81708160
...
...
@@ -186,6 +186,7 @@ const Dropdown = (($) => {
}
update
()
{
this
.
_inNavbar
=
this
.
_detectNavbar
()
if
(
this
.
_popper
!==
null
)
{
this
.
_popper
.
scheduleUpdate
()
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment