diff options
| author | Nicklas Ansman Giertz <[email protected]> | 2012-01-22 12:06:59 +0100 |
|---|---|---|
| committer | Nicklas Ansman Giertz <[email protected]> | 2012-01-22 12:06:59 +0100 |
| commit | 6a9f169fd6cd2203dee3f6230cc78f5dbbeafdab (patch) | |
| tree | 1f1adf51d96840884a1a29b727bc219d440ad3e0 | |
| parent | 373a54187ed5d1f5d00d725e6ef6b84d506f07a8 (diff) | |
| download | bootstrap-6a9f169fd6cd2203dee3f6230cc78f5dbbeafdab.tar.xz bootstrap-6a9f169fd6cd2203dee3f6230cc78f5dbbeafdab.zip | |
Make the popove respect custom classes
| -rw-r--r-- | js/bootstrap-popover.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/bootstrap-popover.js b/js/bootstrap-popover.js index e90899895..a0de0f08d 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: '<div class="popover"><div class="arrow"></div><div class="inner"><h3 class="title"></h3><div class="content"><p></p></div></div></div>' }) -}( window.jQuery )
\ No newline at end of file +}( window.jQuery ) |
