From 10b30455e9f70ab799f93316ec4f4edd8a88cac6 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Sun, 26 Feb 2017 19:46:42 +0100 Subject: Decrease minimum test delay --- js/codeq/prolog.js | 2 +- js/codeq/python.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/codeq/prolog.js b/js/codeq/prolog.js index 2c47bfb..64bc505 100644 --- a/js/codeq/prolog.js +++ b/js/codeq/prolog.js @@ -213,7 +213,7 @@ along with this program. If not, see . */ jqBtnTest.on('click', function () { // random timeout before returning results to the user, helps // maintain the illusion - var timeout = 500 + Math.random() * 1000; + var timeout = 250 + Math.random() * 500; hinter.clear(); $(editor.getWrapperElement()).addClass('disabled'); diff --git a/js/codeq/python.js b/js/codeq/python.js index 3d47223..f6f5f9a 100644 --- a/js/codeq/python.js +++ b/js/codeq/python.js @@ -151,7 +151,7 @@ along with this program. If not, see . */ jqBtnTest.on('click', function () { // random timeout before returning results to the user, helps // maintain the illusion - var timeout = 500 + Math.random() * 1000; + var timeout = 250 + Math.random() * 500; hinter.clear(); $(editor.getWrapperElement()).addClass('disabled'); -- cgit v1.2.1