mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
remake and add isHTML check to popover as well
This commit is contained in:
Vendored
+1
-2
@@ -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