summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/codeq/prolog.js2
-rw-r--r--js/codeq/python.js2
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 <http://www.gnu.org/licenses/>. */
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 <http://www.gnu.org/licenses/>. */
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');