Skip to content

Commit 9f8fc22

Browse files
Update setup_top_menu.js
1 parent aba5538 commit 9f8fc22

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎js/dom/setup/setup_top_menu.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module.exports = () => {
2828
// control
2929

3030
const $btnRun = $('#btn_run');
31+
const $btnRunText=ap=$('#btn_run>span');
3132
const $btnTrace = $('#btn_trace');
3233
const $btnPause = $('#btn_pause');
3334
const $btnPrev = $('#btn_prev');
@@ -47,6 +48,9 @@ module.exports = () => {
4748
Toast.showErrorToast(err);
4849
TopMenu.resetTopMenuButtons();
4950
}
51+
else {
52+
$btnRunText.html("Reset");
53+
}
5054
});
5155

5256
$btnPause.click(() => {

0 commit comments

Comments
 (0)