From fa727b6869535051cdfd95254933c5cbce390c82 Mon Sep 17 00:00:00 2001 From: Daniel Gunzinger Date: Sat, 18 Apr 2020 16:46:38 +0200 Subject: [PATCH] add delay for sending the new volume (client -> server) to limit packet send rate; only update the slider value when the value has changed --- templates/index.html | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/templates/index.html b/templates/index.html index 3dad160..c85aa76 100644 --- a/templates/index.html +++ b/templates/index.html @@ -71,7 +71,7 @@ + onchange="setVolumeDelayed(this.value)">