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
path: root/js
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 /js
parentdc4e80a655509dc1f68d45c950174e79da2f7f08 (diff)
can't extend bounding box thingy
Diffstat (limited to 'js')
-rw-r--r--js/bootstrap-tooltip.js2
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())