Skip to content

Commit 7d3e07e

Browse files
beaufortfrancoiskenchris
authored andcommitted
Fix local record type in JS example (#532)
1 parent 1f90f6f commit 7d3e07e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ <h4>
12621262
if (record.recordType == "text") {
12631263
const decoder = new TextDecoder(record.encoding);
12641264
text = decoder.decode(record.data);
1265-
} else if (record.recordType == "act") {
1265+
} else if (record.recordType == ":act") {
12661266
action = record.data.getUint8(0);
12671267
}
12681268
}

0 commit comments

Comments
 (0)