Commit c95aa97c authored by Jacob's avatar Jacob
Browse files

Merge pull request #14244 from programcsharp/master

Remove popover content with .children().detach() instead of .empty()
parents ea0e1606 531fc808
Showing with 1 addition and 1 deletion
+1 -1
......@@ -46,7 +46,7 @@
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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment