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
e6e4d93d
Commit
e6e4d93d
authored
12 years ago
by
Swaagie
Browse files
Options
Download
Email Patches
Plain Diff
leave it to the developer to decide how to use the content of the popover
parent
3b3dd3ac
1 merge request
!6028
Insert into `.popover-content`, not `.popover-content p`
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/bootstrap-popover.js
+3
-3
js/bootstrap-popover.js
with
3 additions
and
3 deletions
+3
-3
js/bootstrap-popover.js
+
3
-
3
View file @
e6e4d93d
...
...
@@ -44,7 +44,7 @@
,
content
=
this
.
getContent
()
$tip
.
find
(
'
.popover-title
'
)[
this
.
options
.
html
?
'
html
'
:
'
text
'
](
title
)
$tip
.
find
(
'
.popover-content
> *
'
)[
this
.
options
.
html
?
'
html
'
:
'
text
'
](
content
)
$tip
.
find
(
'
.popover-content
'
)[
this
.
options
.
html
?
'
html
'
:
'
text
'
](
content
)
$tip
.
removeClass
(
'
fade top bottom left right in
'
)
}
...
...
@@ -97,7 +97,7 @@
placement
:
'
right
'
,
trigger
:
'
click
'
,
content
:
''
,
template
:
'
<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><
p></p><
/div></div></div>
'
,
template
:
'
<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"></div></div></div>
'
})
}(
window
.
jQuery
);
\ No newline at end of file
}(
window
.
jQuery
);
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