Merge pull request #109 from cubedro/develop

changed request history to 50
This commit is contained in:
Marian OANCΞA
2015-04-28 16:07:49 +03:00

View File

@@ -350,7 +350,7 @@ History.prototype.getHistoryRequestInterval = function()
return null;
var max = _.min(this._items, 'height').height - 1;
var min = max - Math.min(100, (MAX_HISTORY - this._items.length + 1)) + 1;
var min = max - Math.min(50, (MAX_HISTORY - this._items.length + 1)) + 1;
return {max: max, min: min};
}