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
21571b34
Commit
21571b34
authored
10 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
Fix invalid HTML in "should allow html entities" tooltip unit test
Refs #14090. Also, fix one typo.
parent
8c6061c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tests/unit/tooltip.js
+2
-2
js/tests/unit/tooltip.js
with
2 additions
and
2 deletions
+2
-2
js/tests/unit/tooltip.js
+
2
-
2
View file @
21571b34
...
...
@@ -92,7 +92,7 @@ $(function () {
})
test
(
'
should allow html entities
'
,
function
()
{
var
$tooltip
=
$
(
'
<a href="#" rel="tooltip" title="
<b>@fat</b>
"/>
'
)
var
$tooltip
=
$
(
'
<a href="#" rel="tooltip" title="
<b>@fat</b>
"/>
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
bootstrapTooltip
({
html
:
true
})
...
...
@@ -513,7 +513,7 @@ $(function () {
})
$tooltip
.
bootstrapTooltip
(
'
show
'
)
equal
(
$
(
'
.tooltip
'
).
children
(
'
.tooltip-inner
'
).
text
(),
'
Simple tooltip
'
,
'
title is set from title attribute while prefered over title option
'
)
equal
(
$
(
'
.tooltip
'
).
children
(
'
.tooltip-inner
'
).
text
(),
'
Simple tooltip
'
,
'
title is set from title attribute while prefer
r
ed over title option
'
)
$tooltip
.
bootstrapTooltip
(
'
hide
'
)
equal
(
$
(
'
.tooltip
'
).
length
,
0
,
'
tooltip removed from dom
'
)
...
...
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