Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Limit number of displayed results to 131,000 in example 6. Going to 1…

…32,000 and higher causes FireFox 3.6 rendering engine to break. Closes #23
  • Loading branch information...
commit 889d15d7e68138fe8a156574e922bca4633b67b1 1 parent 431a7b5
Milan Gardian milang authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  slick.remotemodel.js
2  slick.remotemodel.js
View
@@ -128,7 +128,7 @@ function EventHelper() {
function onSuccess(resp) {
var from = resp.offset, to = resp.offset + resp.count;
- data.length = parseInt(resp.total);
+ data.length = Math.min(131000, parseInt(resp.total));
for (var i = 0; i < resp.stories.length; i++) {
data[from + i] = resp.stories[i];
Please sign in to comment.
Something went wrong with that request. Please try again.