mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-21 23:29:48 +00:00
[fix] MicroPython モード時に実行ボタンが有効にならない不具合を修正
This commit is contained in:
parent
511b16cb50
commit
971df187f1
2
index.js
2
index.js
@ -374,10 +374,10 @@ const ugj_runCode = async () => {
|
|||||||
let ocogeFunc = new AsyncFunction(code);
|
let ocogeFunc = new AsyncFunction(code);
|
||||||
await ocogeFunc().catch(e => { window.alert(e); });
|
await ocogeFunc().catch(e => { window.alert(e); });
|
||||||
console.log('Code Execution done.');
|
console.log('Code Execution done.');
|
||||||
btnel.disabled = false;
|
|
||||||
} else if (elutil.lang == 'py') {
|
} else if (elutil.lang == 'py') {
|
||||||
if (code) ugj_spawnPyboard(code, 'r');
|
if (code) ugj_spawnPyboard(code, 'r');
|
||||||
}
|
}
|
||||||
|
btnel.disabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Pyboard ocoge
|
// Pyboard ocoge
|
||||||
|
Loading…
Reference in New Issue
Block a user