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
19de2e86
Commit
19de2e86
authored
11 years ago
by
fat
Browse files
Options
Download
Email Patches
Plain Diff
add bs- prefix to tooltip
parent
149ecd21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tooltip.js
+3
-3
js/tooltip.js
with
3 additions
and
3 deletions
+3
-3
js/tooltip.js
+
3
-
3
View file @
19de2e86
...
...
@@ -225,7 +225,7 @@
Tooltip
.
prototype
.
hide
=
function
()
{
var
that
=
this
var
$tip
=
this
.
tip
()
var
e
=
$
.
Event
(
'
hide
'
)
var
e
=
$
.
Event
(
'
bs:
'
+
this
.
type
+
'
:
hide
'
)
this
.
$element
.
trigger
(
e
)
...
...
@@ -329,10 +329,10 @@
$
.
fn
.
tooltip
=
function
(
option
)
{
return
this
.
each
(
function
()
{
var
$this
=
$
(
this
)
var
data
=
$this
.
data
(
'
tooltip
'
)
var
data
=
$this
.
data
(
'
bs-
tooltip
'
)
var
options
=
typeof
option
==
'
object
'
&&
option
if
(
!
data
)
$this
.
data
(
'
tooltip
'
,
(
data
=
new
Tooltip
(
this
,
options
)))
if
(
!
data
)
$this
.
data
(
'
bs-
tooltip
'
,
(
data
=
new
Tooltip
(
this
,
options
)))
if
(
typeof
option
==
'
string
'
)
data
[
option
]()
})
}
...
...
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