From 389c439f32e27dfd25e07a72bd88f951743750ef Mon Sep 17 00:00:00 2001 From: jedireza Date: Fri, 20 Jun 2014 14:47:35 -0700 Subject: [PATCH] option to supply list view position function --- jquery.textcomplete.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jquery.textcomplete.js b/jquery.textcomplete.js index 31f51e8e..924c6e67 100644 --- a/jquery.textcomplete.js +++ b/jquery.textcomplete.js @@ -457,6 +457,9 @@ this.$el = $el; this.index = 0; this.completer = completer; + if (completer.option.listPosition) { + this.setPosition = completer.option.listPosition; + } this.$el.on('mousedown.textComplete', 'li.textcomplete-item', $.proxy(this.onClick, this));