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
a67231ae
Commit
a67231ae
authored
4 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Move function
parent
0eb120ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/src/popover.js
+2
-2
js/src/popover.js
with
2 additions
and
2 deletions
+2
-2
js/src/popover.js
+
2
-
2
View file @
a67231ae
...
@@ -116,12 +116,12 @@ class Popover extends Tooltip {
...
@@ -116,12 +116,12 @@ class Popover extends Tooltip {
tip
.
classList
.
remove
(
CLASS_NAME_FADE
,
CLASS_NAME_SHOW
)
tip
.
classList
.
remove
(
CLASS_NAME_FADE
,
CLASS_NAME_SHOW
)
}
}
// Private
_addAttachmentClass
(
attachment
)
{
_addAttachmentClass
(
attachment
)
{
this
.
getTipElement
().
classList
.
add
(
`
${
CLASS_PREFIX
}
-
${
attachment
}
`
)
this
.
getTipElement
().
classList
.
add
(
`
${
CLASS_PREFIX
}
-
${
attachment
}
`
)
}
}
// Private
_getContent
()
{
_getContent
()
{
return
this
.
element
.
getAttribute
(
'
data-content
'
)
||
return
this
.
element
.
getAttribute
(
'
data-content
'
)
||
this
.
config
.
content
this
.
config
.
content
...
...
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