1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 05:03:16 +02:00

offset -> position #3088

This commit is contained in:
Jacob Thornton
2012-04-18 13:15:13 -07:00
parent f3cf4cbaae
commit 8f98c4fbf6
4 changed files with 4 additions and 4 deletions

View File

@@ -56,7 +56,7 @@
} }
, show: function () { , show: function () {
var pos = $.extend({}, this.$element.offset(), { var pos = $.extend({}, this.$element.position(), {
height: this.$element[0].offsetHeight height: this.$element[0].offsetHeight
}) })

View File

@@ -1589,7 +1589,7 @@
} }
, show: function () { , show: function () {
var pos = $.extend({}, this.$element.offset(), { var pos = $.extend({}, this.$element.position(), {
height: this.$element[0].offsetHeight height: this.$element[0].offsetHeight
}) })

File diff suppressed because one or more lines are too long

View File

@@ -56,7 +56,7 @@
} }
, show: function () { , show: function () {
var pos = $.extend({}, this.$element.offset(), { var pos = $.extend({}, this.$element.position(), {
height: this.$element[0].offsetHeight height: this.$element[0].offsetHeight
}) })