提交 3e362040 编写于 作者: J Jason Park

fix run button

上级 ad8334db
......@@ -591,6 +591,14 @@ input[type=number]::-webkit-outer-spin-button {
color: #00e676;
}
#btn_run > .btn-text:before {
content: 'Run'
}
#btn_run.active > .btn-text:before {
content: 'Rerun'
}
#btn_pause > .btn-text:before {
content: 'Pause'
}
......
......@@ -37,7 +37,7 @@
</div>
<button id="btn_run">
<i class="fa fa-play" aria-hidden="true"></i>
<span class="btn-text">Run</span>
<span class="btn-text"></span>
</button>
<button id="btn_prev">
<i class="fa fa-chevron-left" aria-hidden="true"></i>
......
......@@ -28,7 +28,6 @@ module.exports = () => {
// control
const $btnRun = $('#btn_run');
const $btnRunText=ap=$('#btn_run>span');
const $btnTrace = $('#btn_trace');
const $btnPause = $('#btn_pause');
const $btnPrev = $('#btn_prev');
......@@ -48,9 +47,6 @@ module.exports = () => {
Toast.showErrorToast(err);
TopMenu.resetTopMenuButtons();
}
else {
$btnRunText.html("Rerun");
}
});
$btnPause.click(() => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册