From d9413269f26c2e5471f57b8ac89970aff776553a Mon Sep 17 00:00:00 2001 From: Diogo Cordeiro Date: Sat, 29 Sep 2018 21:24:08 +0100 Subject: [PATCH] Follow spec properly --- ingestion-rate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingestion-rate.js b/ingestion-rate.js index 39a28b6..7de2628 100644 --- a/ingestion-rate.js +++ b/ingestion-rate.js @@ -17,6 +17,6 @@ ws.addEventListener('message', function message(data, flags) { document.getElementById("ingestion-rate-update").addEventListener('click', function() { if (document.getElementById("ingestion-rate").value != current_ingestion_rate) { ws.send(document.getElementById("ingestion-rate").value, {mask: true}); - current_ingestion_rate = document.getElementById("ingestion-rate").value; + current_ingestion_rate = "set::" + document.getElementById("ingestion-rate").value; } });