1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-26 05:19:15 +02:00

add click option for tooltip, popover - make click default for popover

This commit is contained in:
Jacob Thornton
2012-08-18 19:54:30 -07:00
parent 44e35e9dfa
commit 45dddc59a1
9 changed files with 26 additions and 17 deletions

View File

@@ -95,6 +95,7 @@
$.fn.popover.defaults = $.extend({} , $.fn.tooltip.defaults, {
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>'
})