mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 21:09:06 +02:00
remake and add isHTML check to popover as well
This commit is contained in:
3
js/bootstrap-tooltip.js
vendored
3
js/bootstrap-tooltip.js
vendored
@@ -167,9 +167,8 @@
|
||||
, setContent: function () {
|
||||
var $tip = this.tip()
|
||||
, title = this.getTitle()
|
||||
, isHTML = this.isHTML(title)
|
||||
|
||||
$tip.find('.tooltip-inner')[isHTML ? 'html' : 'text'](title)
|
||||
$tip.find('.tooltip-inner')[this.isHTML(title) ? 'html' : 'text'](title)
|
||||
$tip.removeClass('fade in top bottom left right')
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user