can't extend bounding box thingy
This commit is contained in:
parent
dc4e80a655
commit
219d275ae6
|
@ -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())
|
||||
|
|
|
@ -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())
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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 New Issue