aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js/bootstrap-popover.js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-07-22 18:28:39 -0700
committerJacob Thornton <[email protected]>2012-07-22 18:28:39 -0700
commitdcf75697ecd243517b23d8ef440f772d91f699c0 (patch)
treef0bd9a5a2bd9c0e8a2dd09ceb4606009c5051181 /docs/assets/js/bootstrap-popover.js
parentfa1e1e34dfd9e8501ffdbb92a282ff5550685f3c (diff)
downloadbootstrap-dcf75697ecd243517b23d8ef440f772d91f699c0.tar.xz
bootstrap-dcf75697ecd243517b23d8ef440f772d91f699c0.zip
some progress on affix plugin
Diffstat (limited to 'docs/assets/js/bootstrap-popover.js')
-rw-r--r--docs/assets/js/bootstrap-popover.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/assets/js/bootstrap-popover.js b/docs/assets/js/bootstrap-popover.js
index fe22ecb47..b7883c5d2 100644
--- a/docs/assets/js/bootstrap-popover.js
+++ b/docs/assets/js/bootstrap-popover.js
@@ -26,7 +26,7 @@
/* POPOVER PUBLIC CLASS DEFINITION
* =============================== */
- var Popover = function ( element, options ) {
+ var Popover = function (element, options) {
this.init('popover', element, options)
}
@@ -72,7 +72,7 @@
}
, destroy: function () {
- this.$element.off().removeData('popover')
+ this.hide().$element.off('.' + this.type).removeData(this.type)
}
})