vendor/assets/javascripts/popover.js in flashgrid-2.2.6 vs vendor/assets/javascripts/popover.js in flashgrid-2.3.0
- old
+ new
@@ -35,10 +35,10 @@
var $tip = this.tip()
var title = this.getTitle()
var content = this.getContent()
$tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
- $tip.find('.popover-content').empty()[ // we use append for html objects to maintain js events
+ $tip.find('.popover-content').children().detach().end()[ // 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')
\ No newline at end of file