From f0712032651dea670014aa913af9d1c4cc248f1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Wed, 29 Jul 2020 15:06:04 +0200 Subject: [PATCH] Fix ES5 compatibility --- js/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/connection.js b/js/connection.js index 8a1e230..77a7027 100644 --- a/js/connection.js +++ b/js/connection.js @@ -48,7 +48,7 @@ weechat.factory('connection', // too high, this time should be reduced if determined the weechat // is lower than 2.9 // This time also includes the time it takes to generate the hash - const WAIT_TIME_OLD_WEECHAT = 200; //ms + var WAIT_TIME_OLD_WEECHAT = 200; //ms // Wait long enough to assume we are on a version < 2.9 var handShakeTimeout = setTimeout(function () {