diff options
| author | Stefan Neculai <[email protected]> | 2014-03-24 18:49:03 +0200 |
|---|---|---|
| committer | Stefan Neculai <[email protected]> | 2014-03-24 18:49:03 +0200 |
| commit | 41628c90a259101291a679fa112307a354fd32ee (patch) | |
| tree | b3cb3afdb5772277ed91a3eea65abb0490677cd5 | |
| parent | d74aee409342d086ae6b087ea6dc3e71f6da055c (diff) | |
| download | bootstrap-41628c90a259101291a679fa112307a354fd32ee.tar.xz bootstrap-41628c90a259101291a679fa112307a354fd32ee.zip | |
Fix popover when using append.
| -rw-r--r-- | js/popover.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/popover.js b/js/popover.js index 23aa82987..9cf9f7113 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) |
