mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-26 05:19:15 +02:00
define constructor on prototypes
This commit is contained in:
4
js/bootstrap-popover.js
vendored
4
js/bootstrap-popover.js
vendored
@@ -34,7 +34,9 @@
|
||||
|
||||
Popover.prototype = $.extend({}, $.fn.twipsy.Twipsy.prototype, {
|
||||
|
||||
setContent: function () {
|
||||
constructor: Popover
|
||||
|
||||
, setContent: function () {
|
||||
var $tip = this.tip()
|
||||
, title = this.getTitle()
|
||||
, content = this.getContent()
|
||||
|
Reference in New Issue
Block a user