1
0
mirror of synced 2024-11-22 13:06:08 +03:00

Fix evaluation of formatLoadMore

This commit is contained in:
Coleman Watts 2014-02-14 17:14:12 -08:00
parent 0636e42cbc
commit 9460b0c9b6

View File

@ -1570,7 +1570,7 @@ the specific language governing permissions and limitations under the Apache Lic
self.postprocessResults(data, false, false);
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);
} else {
more.remove();