diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2017-02-26 19:46:42 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2017-02-26 19:46:42 +0100 |
commit | 10b30455e9f70ab799f93316ec4f4edd8a88cac6 (patch) | |
tree | 7cc022aa69adaa17d54a8979bbe1a38b41568894 /js | |
parent | 73badd57906358fd0c238dc7764ae86c0ae42bdc (diff) |
Decrease minimum test delay
Diffstat (limited to 'js')
-rw-r--r-- | js/codeq/prolog.js | 2 | ||||
-rw-r--r-- | 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 <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'); |