From: Stefan Neculai Date: Mon, 24 Mar 2014 16:49:03 +0000 (+0200) Subject: Fix popover when using append. X-Git-Tag: v3.2.0~317^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41628c90a259101291a679fa112307a354fd32ee;p=thirdparty%2Fbootstrap.git Fix popover when using append. --- diff --git a/js/popover.js b/js/popover.js index 23aa829879..9cf9f71136 100644 --- a/js/popover.js +++ b/js/popover.js @@ -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)