Browse Source

It's strange to be wainting behind 0 test

Gaël Métais 11 năm trước cách đây
mục cha
commit
c83ca394ac
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/views/launchTest.html

+ 1 - 1
app/views/launchTest.html

@@ -28,7 +28,7 @@
         });
         
         socket.on('position', function(position) {
-            statusElement.innerHTML = 'Waiting behind ' + position + ' other tests';
+            statusElement.innerHTML = 'Waiting behind ' + (position + 1) + ' other tests';
             setTimeout(askStatus, 2000);
         });