diff options
author | Mu-An Chiou <me@muanchiou.com> | 2013-06-28 14:05:38 +0400 |
---|---|---|
committer | Mu-An Chiou <me@muanchiou.com> | 2013-06-28 14:05:38 +0400 |
commit | 55fa1acbd6f351d56b873eef6c59f72899cece49 (patch) | |
tree | 2e293fdee22a4581feff6986bda1c1dd02e08e7a /docs/assets/js/bootstrap.js | |
parent | 09cdee2f03aaad5c5a767fbec2e3896ad3d1f980 (diff) |
Tooltip: apply position class before positioning
Diffstat (limited to 'docs/assets/js/bootstrap.js')
-rw-r--r-- | docs/assets/js/bootstrap.js | 2 |
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 |