aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js/bootstrap.js
diff options
context:
space:
mode:
authorfat <[email protected]>2012-12-19 22:03:57 -0800
committerfat <[email protected]>2012-12-19 22:03:57 -0800
commit219d275ae67e58f3a4c1d0a2b2daeff427adbaf6 (patch)
tree3286585fc52740818a6e30dfc41c634ebba3692e /docs/assets/js/bootstrap.js
parentdc4e80a655509dc1f68d45c950174e79da2f7f08 (diff)
downloadbootstrap-219d275ae67e58f3a4c1d0a2b2daeff427adbaf6.tar.xz
bootstrap-219d275ae67e58f3a4c1d0a2b2daeff427adbaf6.zip
can't extend bounding box thingy
Diffstat (limited to 'docs/assets/js/bootstrap.js')
-rw-r--r--docs/assets/js/bootstrap.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/assets/js/bootstrap.js b/docs/assets/js/bootstrap.js
index 1c104a49d..714d326bc 100644
--- a/docs/assets/js/bootstrap.js
+++ b/docs/assets/js/bootstrap.js
@@ -1208,7 +1208,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())