diff options
| author | Mu-An Chiou <[email protected]> | 2013-06-28 11:05:38 +0100 |
|---|---|---|
| committer | Mu-An Chiou <[email protected]> | 2013-06-28 11:05:38 +0100 |
| commit | 55fa1acbd6f351d56b873eef6c59f72899cece49 (patch) | |
| tree | 2e293fdee22a4581feff6986bda1c1dd02e08e7a /js/tooltip.js | |
| parent | 09cdee2f03aaad5c5a767fbec2e3896ad3d1f980 (diff) | |
| download | bootstrap-55fa1acbd6f351d56b873eef6c59f72899cece49.tar.xz bootstrap-55fa1acbd6f351d56b873eef6c59f72899cece49.zip | |
Tooltip: apply position class before positioning
Diffstat (limited to 'js/tooltip.js')
| -rw-r--r-- | js/tooltip.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tooltip.js b/js/tooltip.js index d95624bdc..1f84b5cf5 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 |
