Fix evaluation of formatLoadMore
This commit is contained in:
parent
0636e42cbc
commit
9460b0c9b6
@ -1570,7 +1570,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
self.postprocessResults(data, false, false);
|
self.postprocessResults(data, false, false);
|
||||||
|
|
||||||
if (data.more===true) {
|
if (data.more===true) {
|
||||||
more.detach().appendTo(results).text(self.opts.formatLoadMore(page+1));
|
more.detach().appendTo(results).text(evaluate(self.opts.formatLoadMore, page+1));
|
||||||
window.setTimeout(function() { self.loadMoreIfNeeded(); }, 10);
|
window.setTimeout(function() { self.loadMoreIfNeeded(); }, 10);
|
||||||
} else {
|
} else {
|
||||||
more.remove();
|
more.remove();
|
||||||
|
Loading…
Reference in New Issue
Block a user