diff options
| author | Mark Otto <[email protected]> | 2013-02-05 19:59:25 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-02-05 19:59:25 -0800 |
| commit | 31fdb2e25e3a0e924a7772edcd2fa3f12518e1f4 (patch) | |
| tree | dc54b4ffdc66e3ae626498c88f99125c95e9d020 | |
| parent | c97d304c0ca0c3b11f2c550590b54a75b41471fb (diff) | |
| parent | 31b9240dd065f79cca0f79392c2333c2eebbf3ac (diff) | |
| download | bootstrap-31fdb2e25e3a0e924a7772edcd2fa3f12518e1f4.tar.xz bootstrap-31fdb2e25e3a0e924a7772edcd2fa3f12518e1f4.zip | |
Merge branch '2.3.0-wip' of github.com:twitter/bootstrap into 2.3.0-wip
| -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()) |
