From 3a09dfb06601c7fe890c0c46e9d32e87b3122664 Mon Sep 17 00:00:00 2001 From: Jiiks Date: Thu, 15 Feb 2018 01:05:12 +0200 Subject: [PATCH] Store interval --- client/src/modules/updater.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/modules/updater.js b/client/src/modules/updater.js index 299b7b88..a03f9b7d 100644 --- a/client/src/modules/updater.js +++ b/client/src/modules/updater.js @@ -27,7 +27,7 @@ export default class { } init() { - setInterval(this.checkForUpdates, this.interval); + this.updateInterval = setInterval(this.checkForUpdates, this.interval); } update() {