mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-22 15:30:23 +00:00
Merge branch '2.3.0-wip' of github.com:twitter/bootstrap into 2.3.0-wip
This commit is contained in:
commit
31fdb2e25e
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