Permalink
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...
1 parent 431a7b5 commit 889d15d7e68138fe8a156574e922bca4633b67b1 @milang milang committed with Feb 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 slick.remotemodel.js
@@ -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];

0 comments on commit 889d15d

Please sign in to comment.