aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-02-05 19:59:25 -0800
committerMark Otto <[email protected]>2013-02-05 19:59:25 -0800
commit31fdb2e25e3a0e924a7772edcd2fa3f12518e1f4 (patch)
treedc54b4ffdc66e3ae626498c88f99125c95e9d020
parentc97d304c0ca0c3b11f2c550590b54a75b41471fb (diff)
parent31b9240dd065f79cca0f79392c2333c2eebbf3ac (diff)
downloadbootstrap-31fdb2e25e3a0e924a7772edcd2fa3f12518e1f4.tar.xz
bootstrap-31fdb2e25e3a0e924a7772edcd2fa3f12518e1f4.zip
Merge branch '2.3.0-wip' of github.com:twitter/bootstrap into 2.3.0-wip
-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 c23d8267a..9ba2d1214 100644
--- a/js/bootstrap-tooltip.js
+++ b/js/bootstrap-tooltip.js
@@ -212,7 +212,7 @@
, getPosition: function () {
var el = this.$element[0]
- return $.extend({}, el.getBoundingClientRect ? el.getBoundingClientRect() : {
+ return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {
width: el.offsetWidth
, height: el.offsetHeight
}, this.$element.offset())