Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorNicklas Ansman Giertz <nicklas@ansman.se>2012-01-22 15:06:59 +0400
committerNicklas Ansman Giertz <nicklas@ansman.se>2012-01-22 15:06:59 +0400
commit6a9f169fd6cd2203dee3f6230cc78f5dbbeafdab (patch)
tree1f1adf51d96840884a1a29b727bc219d440ad3e0 /js
parent373a54187ed5d1f5d00d725e6ef6b84d506f07a8 (diff)
Make the popove respect custom classes
Diffstat (limited to 'js')
-rw-r--r--js/bootstrap-popover.js4
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 )