]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
leave it to the developer to decide how to use the content of the popover 6028/head
authorSwaagie <info@martijnswaagman.nl>
Tue, 27 Nov 2012 14:07:31 +0000 (15:07 +0100)
committerSwaagie <info@martijnswaagman.nl>
Tue, 27 Nov 2012 14:07:31 +0000 (15:07 +0100)
js/bootstrap-popover.js

index 0afe7ec3b2b0c6c103f4efd7463920ed163f0b79..28138765f377ad1212bad305218a6142bd3f378c 100644 (file)
@@ -44,7 +44,7 @@
         , content = this.getContent()
 
       $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
-      $tip.find('.popover-content > *')[this.options.html ? 'html' : 'text'](content)
+      $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)
 
       $tip.removeClass('fade top bottom left right in')
     }
@@ -97,7 +97,7 @@
     placement: 'right'
   , trigger: 'click'
   , content: ''
-  , template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>'
+  , template: '<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"></div></div></div>'
   })
 
-}(window.jQuery);
\ No newline at end of file
+}(window.jQuery);