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:
authorMu-An Chiou <me@muanchiou.com>2013-06-28 14:05:38 +0400
committerMu-An Chiou <me@muanchiou.com>2013-06-28 14:05:38 +0400
commit55fa1acbd6f351d56b873eef6c59f72899cece49 (patch)
tree2e293fdee22a4581feff6986bda1c1dd02e08e7a /docs/assets/js/bootstrap.js
parent09cdee2f03aaad5c5a767fbec2e3896ad3d1f980 (diff)
Tooltip: apply position class before positioning
Diffstat (limited to 'docs/assets/js/bootstrap.js')
-rw-r--r--docs/assets/js/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assets/js/bootstrap.js b/docs/assets/js/bootstrap.js
index 03888ac5f9..8d87eb436a 100644
--- a/docs/assets/js/bootstrap.js
+++ b/docs/assets/js/bootstrap.js
@@ -1159,6 +1159,7 @@
$tip
.detach()
.css({ top: 0, left: 0, display: 'block' })
+ .addClass(placement)
this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
@@ -1195,7 +1196,6 @@
$tip
.offset(offset)
- .addClass(placement)
.addClass('in')
var actualWidth = $tip[0].offsetWidth