diff options
author | fat <jacobthornton@gmail.com> | 2012-12-20 10:03:57 +0400 |
---|---|---|
committer | fat <jacobthornton@gmail.com> | 2012-12-20 10:03:57 +0400 |
commit | 219d275ae67e58f3a4c1d0a2b2daeff427adbaf6 (patch) | |
tree | 3286585fc52740818a6e30dfc41c634ebba3692e /js | |
parent | dc4e80a655509dc1f68d45c950174e79da2f7f08 (diff) |
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 3be4a4a821..25bba15892 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()) |