Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

+ addination is finally data driven

  • Loading branch information...
commit 7539768545382a1e320fe0a0124cb7e22628e2b6 1 parent 47d5b1e
@floere floere authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  client/javascripts/source/picky.addination.js
View
2  client/javascripts/source/picky.addination.js
@@ -3,7 +3,7 @@ var PickyAddination = function(view, results) {
// Calculate the addination range.
//
var calculateRange = function(data) {
- var numberOfResults = 20; // Make parametrizable.
+ var numberOfResults = data.renderedAmount(); // Use as much as is there.
var offset = data.offset + numberOfResults;
var end = offset + numberOfResults;
var total = data.total;
Please sign in to comment.
Something went wrong with that request. Please try again.