Commit 531fc808 authored by Chris Hynes's avatar Chris Hynes
Browse files

Use .end() to remove extra line

parent 519a087d
Showing with 1 addition and 2 deletions
+1 -2
......@@ -46,8 +46,7 @@
var content = this.getContent()
$tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
$tip.find('.popover-content').children().detach()
$tip.find('.popover-content')[ // 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