1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 21:09:06 +02:00

more tests, more js goodness

This commit is contained in:
Jacob Thornton
2011-09-10 12:49:21 -07:00
parent 79d5f90713
commit 48aa209348
9 changed files with 206 additions and 34 deletions

View File

@@ -60,6 +60,7 @@
$.fn.popover = function (options) {
if (typeof options == 'object') options = $.extend({}, $.fn.popover.defaults, options)
$.fn.twipsy.initWith.call(this, options, Popover)
return this
}
$.fn.popover.defaults = $.extend({}, $.fn.twipsy.defaults, { content: '', placement: 'right'})