aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/SocketController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/SocketController.js b/modern/src/SocketController.js
index f915c999..6de3369a 100644
--- a/modern/src/SocketController.js
+++ b/modern/src/SocketController.js
@@ -28,7 +28,7 @@ const SocketController = (props) => {
const socket = new WebSocket(protocol + '//' + window.location.host + '/api/socket');
socket.onclose = () => {
- setTimeout(() => this.connectSocket(), 60 * 1000);
+ setTimeout(() => connectSocket(), 60 * 1000);
};
socket.onmessage = (event) => {