aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js/bootstrap.js
diff options
context:
space:
mode:
authorMu-An Chiou <[email protected]>2013-06-28 11:05:38 +0100
committerMu-An Chiou <[email protected]>2013-06-28 11:05:38 +0100
commit55fa1acbd6f351d56b873eef6c59f72899cece49 (patch)
tree2e293fdee22a4581feff6986bda1c1dd02e08e7a /docs/assets/js/bootstrap.js
parent09cdee2f03aaad5c5a767fbec2e3896ad3d1f980 (diff)
downloadbootstrap-55fa1acbd6f351d56b873eef6c59f72899cece49.tar.xz
bootstrap-55fa1acbd6f351d56b873eef6c59f72899cece49.zip
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 03888ac5f..8d87eb436 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