mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
can't extend bounding box thingy
This commit is contained in:
parent
dc4e80a655
commit
219d275ae6
4 changed files with 6 additions and 4 deletions
3
docs/assets/js/bootstrap-tooltip.js
vendored
3
docs/assets/js/bootstrap-tooltip.js
vendored
|
@ -192,7 +192,8 @@
|
|||
|
||||
, getPosition: function () {
|
||||
var el = this.$element[0]
|
||||
return $.extend(el.getBoundingClientRect ? el.getBoundingClientRect() : {
|
||||
|
||||
return $.extend({}, el.getBoundingClientRect ? el.getBoundingClientRect() : {
|
||||
width: el.offsetWidth
|
||||
, height: el.offsetHeight
|
||||
}, this.$element.offset())
|
||||
|
|
3
docs/assets/js/bootstrap.js
vendored
3
docs/assets/js/bootstrap.js
vendored
|
@ -1208,7 +1208,8 @@
|
|||
|
||||
, getPosition: function () {
|
||||
var el = this.$element[0]
|
||||
return $.extend(el.getBoundingClientRect ? el.getBoundingClientRect() : {
|
||||
|
||||
return $.extend({}, el.getBoundingClientRect ? el.getBoundingClientRect() : {
|
||||
width: el.offsetWidth
|
||||
, height: el.offsetHeight
|
||||
}, this.$element.offset())
|
||||
|
|
2
docs/assets/js/bootstrap.min.js
vendored
2
docs/assets/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
2
js/bootstrap-tooltip.js
vendored
2
js/bootstrap-tooltip.js
vendored
|
@ -192,7 +192,7 @@
|
|||
|
||||
, getPosition: function () {
|
||||
var el = this.$element[0]
|
||||
return $.extend(el.getBoundingClientRect ? el.getBoundingClientRect() : {
|
||||
return $.extend({}, el.getBoundingClientRect ? el.getBoundingClientRect() : {
|
||||
width: el.offsetWidth
|
||||
, height: el.offsetHeight
|
||||
}, this.$element.offset())
|
||||
|
|
Loading…
Reference in a new issue