Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
6ed8a735
Commit
6ed8a735
authored
7 years ago
by
Johann-S
Browse files
Options
Download
Email Patches
Plain Diff
fix some errors in our js
parent
11a5ca8f
6 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
,
!25326
Adjust examples
,
!23995
Add back cursor: pointer for .btn-link
,
!23178
Spinner
,
!17021
v4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/src/dropdown.js
+3
-5
js/src/dropdown.js
with
3 additions
and
5 deletions
+3
-5
js/src/dropdown.js
+
3
-
5
View file @
6ed8a735
...
...
@@ -250,12 +250,10 @@ const Dropdown = (($) => {
if
(
$
(
this
.
_menu
).
hasClass
(
ClassName
.
MENURIGHT
))
{
placement
=
AttachmentMap
.
TOPEND
}
}
else
if
(
$
(
this
.
_menu
).
hasClass
(
ClassName
.
MENURIGHT
))
{
placement
=
AttachmentMap
.
BOTTOMEND
}
else
{
if
(
$
(
this
.
_menu
).
hasClass
(
ClassName
.
MENURIGHT
))
{
placement
=
AttachmentMap
.
BOTTOMEND
}
}
return
placement
}
...
...
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
Menu
Explore
Projects
Groups
Snippets