diff options
| author | fat-kun <[email protected]> | 2013-02-05 19:22:34 -0800 |
|---|---|---|
| committer | fat-kun <[email protected]> | 2013-02-05 19:22:34 -0800 |
| commit | 31b9240dd065f79cca0f79392c2333c2eebbf3ac (patch) | |
| tree | 99b33bdf5ba16cb383978eb64fcacea348c0ddc9 | |
| parent | cb0fed66933d179b5bc3669a1df7df00b5688cbe (diff) | |
| parent | b7764d8a3399fa8f91d702ac85cbe652fadb6bbe (diff) | |
| download | bootstrap-31b9240dd065f79cca0f79392c2333c2eebbf3ac.tar.xz bootstrap-31b9240dd065f79cca0f79392c2333c2eebbf3ac.zip | |
Merge pull request #6737 from openwide-java/fix-tooltip-positioning-for-ie8
Fix tooltip positioning for IE8 broken in 2.3.0
| -rw-r--r-- | js/bootstrap-tooltip.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js index c23d8267a..9ba2d1214 100644 --- a/js/bootstrap-tooltip.js +++ b/js/bootstrap-tooltip.js @@ -212,7 +212,7 @@ , getPosition: function () { var el = this.$element[0] - return $.extend({}, el.getBoundingClientRect ? el.getBoundingClientRect() : { + return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : { width: el.offsetWidth , height: el.offsetHeight }, this.$element.offset()) |
