Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfat <jacobthornton@gmail.com>2012-12-20 10:03:57 +0400
committerfat <jacobthornton@gmail.com>2012-12-20 10:03:57 +0400
commit219d275ae67e58f3a4c1d0a2b2daeff427adbaf6 (patch)
tree3286585fc52740818a6e30dfc41c634ebba3692e /docs/assets/js/bootstrap-tooltip.js
parentdc4e80a655509dc1f68d45c950174e79da2f7f08 (diff)
can't extend bounding box thingy
Diffstat (limited to 'docs/assets/js/bootstrap-tooltip.js')
-rw-r--r--docs/assets/js/bootstrap-tooltip.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/assets/js/bootstrap-tooltip.js b/docs/assets/js/bootstrap-tooltip.js
index 3be4a4a821..aef2f27606 100644
--- a/docs/assets/js/bootstrap-tooltip.js
+++ b/docs/assets/js/bootstrap-tooltip.js
@@ -192,7 +192,8 @@
, 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())