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:
Diffstat (limited to 'js/tooltip.js')
-rw-r--r--js/tooltip.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tooltip.js b/js/tooltip.js
index d95624bdc2..1f84b5cf5d 100644
--- a/js/tooltip.js
+++ b/js/tooltip.js
@@ -147,6 +147,7 @@
$tip
.detach()
.css({ top: 0, left: 0, display: 'block' })
+ .addClass(placement)
this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
@@ -183,7 +184,6 @@
$tip
.offset(offset)
- .addClass(placement)
.addClass('in')
var actualWidth = $tip[0].offsetWidth