From: Nicklas Ansman Giertz Date: Sun, 22 Jan 2012 11:06:59 +0000 (+0100) Subject: Make the popove respect custom classes X-Git-Tag: v2.0.0~6^2~251^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a9f169fd6cd2203dee3f6230cc78f5dbbeafdab;p=thirdparty%2Fbootstrap.git Make the popove respect custom classes --- diff --git a/js/bootstrap-popover.js b/js/bootstrap-popover.js index e908998952..a0de0f08dc 100644 --- a/js/bootstrap-popover.js +++ b/js/bootstrap-popover.js @@ -41,7 +41,7 @@ $tip.find('.title')[ $.type(title) == 'object' ? 'append' : 'html' ](title) $tip.find('.content > *')[ $.type(content) == 'object' ? 'append' : 'html' ](content) - $tip[0].className = 'popover' + $tip.removeClass('fade top bottom left right in') } , hasContent: function () { @@ -92,4 +92,4 @@ , template: '

' }) -}( window.jQuery ) \ No newline at end of file +}( window.jQuery )