Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-04-26 09:14:39 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-04-26 09:14:39 +0400
commitfc509e14b24fedde3fa6179b89ab2210a5630788 (patch)
treecb464ca1c6f2c6523cb07bc89260d7034c0a117c /js
parenta29e5a9dd69f09b39b74f31e8131b7d9e633e9a1 (diff)
revert position -> offset for typeahead position
Diffstat (limited to 'js')
-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 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
})