Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

Commit dc91089

Browse files
committed
Use correct event name.
1 parent 267adb1 commit dc91089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyscript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ const main = function() {
279279
if(config.mp_memory) {
280280
mp_memory = config.mp_memory;
281281
}
282-
document.addEventListener('mp-print', function(e) {
282+
document.addEventListener('micropython-print', function(e) {
283283
Runtime.print(e.data);
284284
}, false);
285285
let mp_js_startup = Module['onRuntimeInitialized'];

0 commit comments

Comments
 (0)