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
a6705246
Commit
a6705246
authored
12 years ago
by
Yohn
Browse files
Options
Download
Email Patches
Plain Diff
Update js/tests/unit/bootstrap-tooltip.js
parent
e21b6459
4 merge requests
!6821
Typeahead updater
,
!6666
Patch 1
,
!6610
Add outline for input[type="image"]
,
!6349
Fixes #5753 with tooltip('toogle')
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tests/unit/bootstrap-tooltip.js
+9
-1
js/tests/unit/bootstrap-tooltip.js
with
9 additions
and
1 deletion
+9
-1
js/tests/unit/bootstrap-tooltip.js
+
9
-
1
View file @
a6705246
...
...
@@ -156,4 +156,12 @@ $(function () {
div
.
find
(
'
a
'
).
trigger
(
'
click
'
)
ok
(
$
(
"
.tooltip
"
).
is
(
'
.fade.in
'
),
'
tooltip is faded in
'
)
})
})
\ No newline at end of file
test
(
"
should show tooltip when toggle is called
"
,
function
()
{
var
tooltip
=
$
(
'
<a href="#" rel="tooltip" title="tooltip on toggle"></a>
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
tooltip
({
trigger
:
'
manual
'
})
.
tooltip
(
'
toggle
'
)
ok
(
$
(
"
.tooltip
"
).
is
(
'
.fade.in
'
),
'
tooltip should be toggled in
'
)
})
})
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