mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fix popover when using append.
This commit is contained in:
parent
d74aee4093
commit
41628c90a2
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@
|
||||||
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')[ // we use append for html objects to maintain js events
|
$tip.find('.popover-content').empty()[ // we use append for html objects to maintain js events
|
||||||
this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
|
this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
|
||||||
](content)
|
](content)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue