mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
leave it to the developer to decide how to use the content of the popover
This commit is contained in:
parent
3b3dd3ac3c
commit
e6e4d93d5e
1 changed files with 3 additions and 3 deletions
6
js/bootstrap-popover.js
vendored
6
js/bootstrap-popover.js
vendored
|
@ -44,7 +44,7 @@
|
||||||
, content = this.getContent()
|
, content = this.getContent()
|
||||||
|
|
||||||
$tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
|
$tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
|
||||||
$tip.find('.popover-content > *')[this.options.html ? 'html' : 'text'](content)
|
$tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)
|
||||||
|
|
||||||
$tip.removeClass('fade top bottom left right in')
|
$tip.removeClass('fade top bottom left right in')
|
||||||
}
|
}
|
||||||
|
@ -97,7 +97,7 @@
|
||||||
placement: 'right'
|
placement: 'right'
|
||||||
, trigger: 'click'
|
, trigger: 'click'
|
||||||
, content: ''
|
, content: ''
|
||||||
, template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>'
|
, template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"></div></div></div>'
|
||||||
})
|
})
|
||||||
|
|
||||||
}(window.jQuery);
|
}(window.jQuery);
|
||||||
|
|
Loading…
Reference in a new issue