aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js/bootstrap-tooltip.js
diff options
context:
space:
mode:
authorfat <[email protected]>2013-02-05 20:34:39 -0800
committerfat <[email protected]>2013-02-05 20:34:39 -0800
commita866a51a2ecac07748501f0375a324ebb57002f2 (patch)
tree35888cbf1e9e5ca6f541c19594f3880b9c31e78c /docs/assets/js/bootstrap-tooltip.js
parent566380b257e5322a014fe52f935381ff86637f43 (diff)
downloadbootstrap-a866a51a2ecac07748501f0375a324ebb57002f2.tar.xz
bootstrap-a866a51a2ecac07748501f0375a324ebb57002f2.zip
clear interval in cycle + rebuild
Diffstat (limited to 'docs/assets/js/bootstrap-tooltip.js')
-rw-r--r--docs/assets/js/bootstrap-tooltip.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assets/js/bootstrap-tooltip.js b/docs/assets/js/bootstrap-tooltip.js
index c23d8267a..9ba2d1214 100644
--- a/docs/assets/js/bootstrap-tooltip.js
+++ b/docs/assets/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())