1
0
mirror of synced 2024-11-26 06:46:04 +03:00

define term and context. fixes #148

This commit is contained in:
Igor Vaynberg 2012-06-21 22:08:56 -07:00
parent e85d131f0a
commit 88ab9f9348

View File

@ -858,7 +858,9 @@
below, // pixels the element is below the scroll fold, below==0 is when the element is starting to be visible below, // pixels the element is below the scroll fold, below==0 is when the element is starting to be visible
offset = -1, // index of first element without data offset = -1, // index of first element without data
page = this.resultsPage + 1, page = this.resultsPage + 1,
self=this; self=this,
term=this.search.val(),
context=this.context;
if (more.length === 0) return; if (more.length === 0) return;
below = more.offset().top - results.offset().top - results.height(); below = more.offset().top - results.offset().top - results.height();