aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/bootstrap-typeahead.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-typeahead.js b/js/bootstrap-typeahead.js
index ada0526f9..95a0fcdb7 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
})