increased max number of pages on itemlist component

This commit is contained in:
Edin Dazdarevic
2015-04-08 00:11:44 +02:00
parent 5464ec5770
commit 670f58fcff

View File

@@ -24,7 +24,7 @@ var ItemList = React.createClass({
{items}
</ul>
{this.getPages()}
</div>
</div>
</div>
);
},
@@ -38,7 +38,7 @@ var ItemList = React.createClass({
return "";
}
var maxSlots = 3;
var maxSlots = 10;
var selectedIndex = Math.floor(this.props.currentOffset / this.props.limit);
var start, end;
@@ -70,4 +70,4 @@ var ItemList = React.createClass({
});
module.exports = ItemList;
module.exports = ItemList;