mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-10 15:50:58 +00:00
Merge pull request #6737 from openwide-java/fix-tooltip-positioning-for-ie8
Fix tooltip positioning for IE8 broken in 2.3.0
This commit is contained in:
commit
31b9240dd0
1 changed files with 1 additions and 1 deletions
2
js/bootstrap-tooltip.js
vendored
2
js/bootstrap-tooltip.js
vendored
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in a new issue