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
60c9ff43
Commit
60c9ff43
authored
12 years ago
by
Yohn
Browse files
Options
Download
Email Patches
Plain Diff
unit tests
parent
beb60309
1 merge request
!6813
don't remove title attribute for tooltips for 2.3-wip
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tests/unit/bootstrap-tooltip.js
+2
-2
js/tests/unit/bootstrap-tooltip.js
with
2 additions
and
2 deletions
+2
-2
js/tests/unit/bootstrap-tooltip.js
+
2
-
2
View file @
60c9ff43
...
...
@@ -22,9 +22,9 @@ $(function () {
ok
(
!!
$
.
fn
.
tooltip
.
defaults
,
'
defaults is defined
'
)
})
test
(
"
should
r
em
ove
title attribute
"
,
function
()
{
test
(
"
should em
pty
title attribute
"
,
function
()
{
var
tooltip
=
$
(
'
<a href="#" rel="tooltip" title="Another tooltip"></a>
'
).
tooltip
()
ok
(
!
tooltip
.
attr
(
'
title
'
),
'
title
tag
was
r
em
ov
ed
'
)
ok
(
tooltip
.
attr
(
'
title
'
)
===
''
,
'
title
attribute
was em
pti
ed
'
)
})
test
(
"
should add data attribute for referencing original title
"
,
function
()
{
...
...
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