From 2b44a449edf7aa776ed1f0365d52e294f698971f Mon Sep 17 00:00:00 2001 From: mokhov Date: Sat, 3 Oct 2015 16:07:14 +0300 Subject: [PATCH] Checking speed bug --- client/core/chitalka/chitalka.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/core/chitalka/chitalka.js b/client/core/chitalka/chitalka.js index 563e946..00989c4 100644 --- a/client/core/chitalka/chitalka.js +++ b/client/core/chitalka/chitalka.js @@ -288,7 +288,7 @@ modules.define( */ _checkSpeed: function () { var speedEntries = this._speedAccumulator.length; - if (speedEntries > 10) { + if (speedEntries >= 10) { this._speedAccumulator = this._speedAccumulator.sort(numSort); var median = Math.median(this._speedAccumulator);