From 4bf9dce97161c6b53c4dfbf034f5464a69360d04 Mon Sep 17 00:00:00 2001 From: Ivan Sein Date: Mon, 22 May 2017 12:18:34 +0200 Subject: [PATCH] Remove unused variables. Signed-off-by: Ivan Sein --- js/rooms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/rooms.js b/js/rooms.js index c734d9f70..217cc8f76 100644 --- a/js/rooms.js +++ b/js/rooms.js @@ -95,7 +95,7 @@ } ).done(function() { pingFails = 0; - }).fail(function(xhr, status, error) { + }).fail(function(xhr) { // If there is an error when pinging, retry for 3 times. if (xhr.status !== 404 && pingFails < 3) { pingFails++;