Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
21f29a76
Commit
21f29a76
authored
Oct 17, 2012
by
billy gates
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5389 from frntz/2.1.2-wip
Update js/bootstrap-tooltip.js
parents
8e6697f2
b892a373
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
js/bootstrap-tooltip.js
js/bootstrap-tooltip.js
+4
-4
No files found.
js/bootstrap-tooltip.js
View file @
21f29a76
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
inside
=
/in/
.
test
(
placement
)
inside
=
/in/
.
test
(
placement
)
$tip
$tip
.
remove
()
.
detach
()
.
css
({
top
:
0
,
left
:
0
,
display
:
'
block
'
})
.
css
({
top
:
0
,
left
:
0
,
display
:
'
block
'
})
.
insertAfter
(
this
.
$element
)
.
insertAfter
(
this
.
$element
)
...
@@ -166,18 +166,18 @@
...
@@ -166,18 +166,18 @@
function
removeWithAnimation
()
{
function
removeWithAnimation
()
{
var
timeout
=
setTimeout
(
function
()
{
var
timeout
=
setTimeout
(
function
()
{
$tip
.
off
(
$
.
support
.
transition
.
end
).
remove
()
$tip
.
off
(
$
.
support
.
transition
.
end
).
detach
()
},
500
)
},
500
)
$tip
.
one
(
$
.
support
.
transition
.
end
,
function
()
{
$tip
.
one
(
$
.
support
.
transition
.
end
,
function
()
{
clearTimeout
(
timeout
)
clearTimeout
(
timeout
)
$tip
.
remove
()
$tip
.
detach
()
})
})
}
}
$
.
support
.
transition
&&
this
.
$tip
.
hasClass
(
'
fade
'
)
?
$
.
support
.
transition
&&
this
.
$tip
.
hasClass
(
'
fade
'
)
?
removeWithAnimation
()
:
removeWithAnimation
()
:
$tip
.
remove
()
$tip
.
detach
()
return
this
return
this
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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