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
6a9cd513
Commit
6a9cd513
authored
Feb 05, 2013
by
fat-kun
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6783 from joprice/popoverOptionsOverride
reordered access of options in tooltip and popover
parents
042bb9b5
4b86a91e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
js/bootstrap-popover.js
js/bootstrap-popover.js
+3
-3
js/bootstrap-tooltip.js
js/bootstrap-tooltip.js
+1
-1
No files found.
js/bootstrap-popover.js
View file @
6a9cd513
...
@@ -58,8 +58,8 @@
...
@@ -58,8 +58,8 @@
,
$e
=
this
.
$element
,
$e
=
this
.
$element
,
o
=
this
.
options
,
o
=
this
.
options
content
=
$e
.
attr
(
'
data-content
'
)
content
=
(
typeof
o
.
content
==
'
function
'
?
o
.
content
.
call
(
$e
[
0
])
:
o
.
content
)
||
(
typeof
o
.
content
==
'
function
'
?
o
.
content
.
call
(
$e
[
0
])
:
o
.
content
)
||
$e
.
attr
(
'
data-content
'
)
return
content
return
content
}
}
...
@@ -111,4 +111,4 @@
...
@@ -111,4 +111,4 @@
return
this
return
this
}
}
}(
window
.
jQuery
);
}(
window
.
jQuery
);
\ No newline at end of file
js/bootstrap-tooltip.js
View file @
6a9cd513
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
}
}
,
getOptions
:
function
(
options
)
{
,
getOptions
:
function
(
options
)
{
options
=
$
.
extend
({},
$
.
fn
[
this
.
type
].
defaults
,
options
,
this
.
$element
.
data
()
)
options
=
$
.
extend
({},
$
.
fn
[
this
.
type
].
defaults
,
this
.
$element
.
data
(),
options
)
if
(
options
.
delay
&&
typeof
options
.
delay
==
'
number
'
)
{
if
(
options
.
delay
&&
typeof
options
.
delay
==
'
number
'
)
{
options
.
delay
=
{
options
.
delay
=
{
...
...
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