mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-23 07:50:23 +00:00
Use .end() to remove extra line
This commit is contained in:
parent
519a087dbe
commit
531fc80885
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue