diff options
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'); |