mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
can't extend bounding box thingy
This commit is contained in:
Vendored
+2
-1
@@ -192,7 +192,8 @@
|
|||||||
|
|
||||||
, getPosition: function () {
|
, getPosition: function () {
|
||||||
var el = this.$element[0]
|
var el = this.$element[0]
|
||||||
return $.extend(el.getBoundingClientRect ? el.getBoundingClientRect() : {
|
|
||||||
|
return $.extend({}, el.getBoundingClientRect ? el.getBoundingClientRect() : {
|
||||||
width: el.offsetWidth
|
width: el.offsetWidth
|
||||||
, height: el.offsetHeight
|
, height: el.offsetHeight
|
||||||
}, this.$element.offset())
|
}, this.$element.offset())
|
||||||
|
|||||||
Vendored
+2
-1
@@ -1208,7 +1208,8 @@
|
|||||||
|
|
||||||
, getPosition: function () {
|
, getPosition: function () {
|
||||||
var el = this.$element[0]
|
var el = this.$element[0]
|
||||||
return $.extend(el.getBoundingClientRect ? el.getBoundingClientRect() : {
|
|
||||||
|
return $.extend({}, el.getBoundingClientRect ? el.getBoundingClientRect() : {
|
||||||
width: el.offsetWidth
|
width: el.offsetWidth
|
||||||
, height: el.offsetHeight
|
, height: el.offsetHeight
|
||||||
}, this.$element.offset())
|
}, this.$element.offset())
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -192,7 +192,7 @@
|
|||||||
|
|
||||||
, getPosition: function () {
|
, getPosition: function () {
|
||||||
var el = this.$element[0]
|
var el = this.$element[0]
|
||||||
return $.extend(el.getBoundingClientRect ? el.getBoundingClientRect() : {
|
return $.extend({}, el.getBoundingClientRect ? el.getBoundingClientRect() : {
|
||||||
width: el.offsetWidth
|
width: el.offsetWidth
|
||||||
, height: el.offsetHeight
|
, height: el.offsetHeight
|
||||||
}, this.$element.offset())
|
}, this.$element.offset())
|
||||||
|
|||||||
Reference in New Issue
Block a user