From fc509e14b24fedde3fa6179b89ab2210a5630788 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Wed, 25 Apr 2012 22:14:39 -0700 Subject: [PATCH] revert position -> offset for typeahead position --- js/bootstrap-typeahead.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 })