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:
1
docs/assets/js/bootstrap-popover.js
vendored
1
docs/assets/js/bootstrap-popover.js
vendored
@@ -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>'
|
||||
})
|
||||
|
Reference in New Issue
Block a user