]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
revert position -> offset for typeahead position
authorJacob Thornton <jacobthornton@gmail.com>
Thu, 26 Apr 2012 05:14:39 +0000 (22:14 -0700)
committerJacob Thornton <jacobthornton@gmail.com>
Thu, 26 Apr 2012 05:14:39 +0000 (22:14 -0700)
js/bootstrap-typeahead.js

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