Commit 6a9f169f authored by Nicklas Ansman Giertz's avatar Nicklas Ansman Giertz

Make the popove respect custom classes

parent 373a5418
...@@ -41,7 +41,7 @@ ...@@ -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 () {
...@@ -92,4 +92,4 @@ ...@@ -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>' , 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 ) }( window.jQuery )
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment