Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-07-23 05:28:39 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-07-23 05:28:39 +0400
commitdcf75697ecd243517b23d8ef440f772d91f699c0 (patch)
treef0bd9a5a2bd9c0e8a2dd09ceb4606009c5051181 /docs/assets/js/bootstrap-popover.js
parentfa1e1e34dfd9e8501ffdbb92a282ff5550685f3c (diff)
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 fe22ecb47c..b7883c5d2c 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)
}
})