diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-03-01 15:30:27 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-03-01 15:30:27 +0100 |
commit | 8123099f8655981e3f7984830fe8ca0154b7278e (patch) | |
tree | 0d5f9b874480e76e249852100931fc3df9bc6e51 /js/codeq/robot.js | |
parent | 982522b5b9dfc39c10d08129b873aadf77b7293f (diff) |
Clear hints immediately when pressing Plan or Test
Diffstat (limited to 'js/codeq/robot.js')
-rw-r--r-- | js/codeq/robot.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/codeq/robot.js b/js/codeq/robot.js index 3e561a1..7bda8ec 100644 --- a/js/codeq/robot.js +++ b/js/codeq/robot.js @@ -161,11 +161,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ }); jqBtnPlan.on('click', function () { + hinter.clear(); if (!hinter.planNext()) { jqBtnPlan.prop('disabled', true).blur(); } }); jqBtnHint.on('click', function () { + hinter.clear(); $(editor.getWrapperElement()).addClass('disabled'); editor.setOption('readOnly', 'nocursor'); jqBtnHint.ladda('start'); |