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:
authorfat <jacobthornton@gmail.com>2013-07-18 08:14:02 +0400
committerfat <jacobthornton@gmail.com>2013-07-18 08:14:02 +0400
commit102df4ff3334663b20c8730bbb32a673b4259edf (patch)
tree83f4b75cff48ad066b6f2b409ddf5e2a083432e1 /js/tooltip.js
parentbf38241f0d95811dd6be0977f91e9a30c3da16c4 (diff)
parent55fa1acbd6f351d56b873eef6c59f72899cece49 (diff)
Merge branch '3.0.0-wip' of git://github.com/muan/bootstrap into muan-3.0.0-wip
Conflicts: docs/assets/js/bootstrap.min.js
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