Skip to content

Commit

Permalink
Merge pull request twbs#6737 from openwide-java/fix-tooltip-positioni…
Browse files Browse the repository at this point in the history
…ng-for-ie8

Fix tooltip positioning for IE8 broken in 2.3.0
  • Loading branch information
fat committed Feb 6, 2013
2 parents cb0fed6 + b7764d8 commit 31b9240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bootstrap-tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 31b9240

Please sign in to comment.