vendor/assets/javascripts/popover.js in flashgrid-1.0.20 vs vendor/assets/javascripts/popover.js in flashgrid-1.0.21
- old
+ new
@@ -33,10 +33,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')[ // 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)
$tip.removeClass('fade top bottom left right in')
\ No newline at end of file