From 13664cd37a11684aa37b2c0a65fcb1e82e87d4c0 Mon Sep 17 00:00:00 2001 From: Jollus88 Date: Wed, 29 Apr 2020 23:49:47 +1000 Subject: [PATCH] adding delay after user input to prevent jank as chart refreshes (cont) --- js/translations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/translations.js b/js/translations.js index dcc1b1f..437e369 100644 --- a/js/translations.js +++ b/js/translations.js @@ -59,7 +59,7 @@ i18next clearTimeout(delayTimer); delayTimer = setTimeout(function() { updateContent(); - }, 1000); + }, 500); }); $('input[type = radio]').on('change', updateContent);