From bd1dfbd49d6978cf7bc92a3ce3bc199d7c0cf76a Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Sat, 9 Feb 2013 22:19:59 -0800 Subject: [PATCH] Revert "* Fix of issue 550 Select2 and CSS Transforms: dropdown menu is off position: https://github.com/ivaynberg/select2/issues/550" This reverts commit ef8c49f85f02c99bda691ae304e83f8c753a1418. --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index e2306c96..62e3f0b1 100644 --- a/select2.js +++ b/select2.js @@ -976,7 +976,7 @@ the specific language governing permissions and limitations under the Apache Lic // abstract positionDropdown: function() { - var offset = { top: this.container[0].offsetTop, left: this.container[0].offsetLeft }, + var offset = this.container.offset(), height = this.container.outerHeight(false), width = this.container.outerWidth(false), dropHeight = this.dropdown.outerHeight(false),