From: Jacob Thornton Date: Thu, 26 Apr 2012 05:14:39 +0000 (-0700) Subject: revert position -> offset for typeahead position X-Git-Tag: v2.0.4~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc509e14b24fedde3fa6179b89ab2210a5630788;p=thirdparty%2Fbootstrap.git revert position -> offset for typeahead position --- diff --git a/js/bootstrap-typeahead.js b/js/bootstrap-typeahead.js index ada0526f93..95a0fcdb78 100644 --- a/js/bootstrap-typeahead.js +++ b/js/bootstrap-typeahead.js @@ -56,7 +56,7 @@ } , show: function () { - var pos = $.extend({}, this.$element.position(), { + var pos = $.extend({}, this.$element.offset(), { height: this.$element[0].offsetHeight })