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
531fc808
Commit
531fc808
authored
10 years ago
by
Chris Hynes
Browse files
Options
Download
Email Patches
Plain Diff
Use .end() to remove extra line
parent
519a087d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/popover.js
+1
-2
js/popover.js
with
1 addition
and
2 deletions
+1
-2
js/popover.js
+
1
-
2
View file @
531fc808
...
...
@@ -46,8 +46,7 @@
var
content
=
this
.
getContent
()
$tip
.
find
(
'
.popover-title
'
)[
this
.
options
.
html
?
'
html
'
:
'
text
'
](
title
)
$tip
.
find
(
'
.popover-content
'
).
children
().
detach
()
$tip
.
find
(
'
.popover-content
'
)[
// we use append for html objects to maintain js events
$tip
.
find
(
'
.popover-content
'
).
children
().
detach
().
end
()[
// we use append for html objects to maintain js events
this
.
options
.
html
?
(
typeof
content
==
'
string
'
?
'
html
'
:
'
append
'
)
:
'
text
'
](
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