diff options
| author | fat <[email protected]> | 2012-12-19 22:03:57 -0800 |
|---|---|---|
| committer | fat <[email protected]> | 2012-12-19 22:03:57 -0800 |
| commit | 219d275ae67e58f3a4c1d0a2b2daeff427adbaf6 (patch) | |
| tree | 3286585fc52740818a6e30dfc41c634ebba3692e /js | |
| parent | dc4e80a655509dc1f68d45c950174e79da2f7f08 (diff) | |
| download | bootstrap-219d275ae67e58f3a4c1d0a2b2daeff427adbaf6.tar.xz bootstrap-219d275ae67e58f3a4c1d0a2b2daeff427adbaf6.zip | |
can't extend bounding box thingy
Diffstat (limited to 'js')
| -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 3be4a4a82..25bba1589 100644 --- a/js/bootstrap-tooltip.js +++ b/js/bootstrap-tooltip.js @@ -192,7 +192,7 @@ , getPosition: function () { var el = this.$element[0] - return $.extend(el.getBoundingClientRect ? el.getBoundingClientRect() : { + return $.extend({}, el.getBoundingClientRect ? el.getBoundingClientRect() : { width: el.offsetWidth , height: el.offsetHeight }, this.$element.offset()) |
