Fix popover when using append.

This commit is contained in:
Stefan Neculai 2014-03-24 18:49:03 +02:00
parent d74aee4093
commit 41628c90a2
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
var content = this.getContent()
$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'
](content)