diff options
| author | fat <[email protected]> | 2013-12-26 18:30:16 -0800 |
|---|---|---|
| committer | fat <[email protected]> | 2013-12-26 18:30:16 -0800 |
| commit | cd0ad94aae42926e2bf86c2f14c6a8856c9b34ff (patch) | |
| tree | e92c49251711eceeefe8326afe92ca2cf090266d /dist/js/bootstrap.js | |
| parent | 3c73904e1728df9bfb6e6b7dfe3b3b732d066784 (diff) | |
| download | bootstrap-cd0ad94aae42926e2bf86c2f14c6a8856c9b34ff.tar.xz bootstrap-cd0ad94aae42926e2bf86c2f14c6a8856c9b34ff.zip | |
rebuild
Diffstat (limited to 'dist/js/bootstrap.js')
| -rw-r--r-- | dist/js/bootstrap.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index a126259b7..cf99d8566 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -1364,6 +1364,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery" } Tooltip.prototype.destroy = function () { + clearTimeout(this.timeout) this.hide().$element.off('.' + this.type).removeData('bs.' + this.type) } @@ -1379,6 +1380,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery" var data = $this.data('bs.tooltip') var options = typeof option == 'object' && option + if (!data && option == 'destroy') return if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options))) if (typeof option == 'string') data[option]() }) @@ -1486,6 +1488,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery" var data = $this.data('bs.popover') var options = typeof option == 'object' && option + if (!data && option == 'destroy') return if (!data) $this.data('bs.popover', (data = new Popover(this, options))) if (typeof option == 'string') data[option]() }) |
