diff options
author | Nicklas Ansman Giertz <nicklas@ansman.se> | 2012-01-22 15:06:59 +0400 |
---|---|---|
committer | Nicklas Ansman Giertz <nicklas@ansman.se> | 2012-01-22 15:06:59 +0400 |
commit | 6a9f169fd6cd2203dee3f6230cc78f5dbbeafdab (patch) | |
tree | 1f1adf51d96840884a1a29b727bc219d440ad3e0 /js | |
parent | 373a54187ed5d1f5d00d725e6ef6b84d506f07a8 (diff) |
Make the popove respect custom classes
Diffstat (limited to 'js')
-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 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: '<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 ) |