1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-06 13:46:42 +02:00

Make the popove respect custom classes

This commit is contained in:
Nicklas Ansman Giertz
2012-01-22 12:06:59 +01:00
parent 373a54187e
commit 6a9f169fd6

View File

@@ -41,7 +41,7 @@
$tip.find('.title')[ $.type(title) == 'object' ? 'append' : 'html' ](title) $tip.find('.title')[ $.type(title) == 'object' ? 'append' : 'html' ](title)
$tip.find('.content > *')[ $.type(content) == 'object' ? 'append' : 'html' ](content) $tip.find('.content > *')[ $.type(content) == 'object' ? 'append' : 'html' ](content)
$tip[0].className = 'popover' $tip.removeClass('fade top bottom left right in')
} }
, hasContent: function () { , hasContent: function () {