diff --git a/extension.js b/extension.js index 526dbeb..5c4e9c9 100644 --- a/extension.js +++ b/extension.js @@ -177,7 +177,7 @@ export default class NetSpeed extends Extension { speed["down"] = (sum["down"] - this._lastSum["down"]) / refreshInterval; speed["up"] = (sum["up"] - this._lastSum["up"]) / refreshInterval; - this.lastSum = sum; + this._lastSum = sum; } catch (e) { console.error(e); }