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
5bf13914
Commit
5bf13914
authored
Dec 28, 2013
by
fat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #10658 jQuery Popover content loses bound events on second setContent call.
parent
6405442e
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
dist/js/bootstrap.js
dist/js/bootstrap.js
+3
-1
dist/js/bootstrap.min.js
dist/js/bootstrap.min.js
+1
-1
docs-assets/js/raw-files.js
docs-assets/js/raw-files.js
+1
-1
js/popover.js
js/popover.js
+3
-1
No files found.
dist/js/bootstrap.js
View file @
5bf13914
...
@@ -1448,7 +1448,9 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
...
@@ -1448,7 +1448,9 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
var
content
=
this
.
getContent
()
var
content
=
this
.
getContent
()
$tip
.
find
(
'
.popover-title
'
)[
this
.
options
.
html
?
'
html
'
:
'
text
'
](
title
)
$tip
.
find
(
'
.popover-title
'
)[
this
.
options
.
html
?
'
html
'
:
'
text
'
](
title
)
$tip
.
find
(
'
.popover-content
'
)[
this
.
options
.
html
?
'
html
'
:
'
text
'
](
content
)
$tip
.
find
(
'
.popover-content
'
)[
// we use append for html objects to maintain js events
this
.
options
.
html
?
(
typeof
content
==
'
string
'
?
'
html
'
:
'
append
'
)
:
'
text
'
](
content
)
$tip
.
removeClass
(
'
fade top bottom left right in
'
)
$tip
.
removeClass
(
'
fade top bottom left right in
'
)
...
...
dist/js/bootstrap.min.js
View file @
5bf13914
This diff is collapsed.
Click to expand it.
docs-assets/js/raw-files.js
View file @
5bf13914
This diff is collapsed.
Click to expand it.
js/popover.js
View file @
5bf13914
...
@@ -43,7 +43,9 @@
...
@@ -43,7 +43,9 @@
var
content
=
this
.
getContent
()
var
content
=
this
.
getContent
()
$tip
.
find
(
'
.popover-title
'
)[
this
.
options
.
html
?
'
html
'
:
'
text
'
](
title
)
$tip
.
find
(
'
.popover-title
'
)[
this
.
options
.
html
?
'
html
'
:
'
text
'
](
title
)
$tip
.
find
(
'
.popover-content
'
)[
this
.
options
.
html
?
'
html
'
:
'
text
'
](
content
)
$tip
.
find
(
'
.popover-content
'
)[
// we use append for html objects to maintain js events
this
.
options
.
html
?
(
typeof
content
==
'
string
'
?
'
html
'
:
'
append
'
)
:
'
text
'
](
content
)
$tip
.
removeClass
(
'
fade top bottom left right in
'
)
$tip
.
removeClass
(
'
fade top bottom left right in
'
)
...
...
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