correctly filter out selected options out of elements loaded by infinite scroll. fixes #881
This commit is contained in:
parent
27f6c0198a
commit
debbcfcede
@ -1317,7 +1317,8 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
|
||||
|
||||
self.opts.populateResults.call(this, results, data.results, {term: term, page: page, context:context});
|
||||
|
||||
self.postprocessResults(data);
|
||||
|
||||
if (data.more===true) {
|
||||
more.detach().appendTo(results).text(self.opts.formatLoadMore(page+1));
|
||||
window.setTimeout(function() { self.loadMoreIfNeeded(); }, 10);
|
||||
|
Loading…
Reference in New Issue
Block a user