Skip to content

Commit 1a3fadd

Browse files
committed
Fix logic polarity
1 parent 464a7c3 commit 1a3fadd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/easycoder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4322,7 +4322,7 @@ const EasyCoder_Browser = {
43224322
}
43234323
const command = program[program.pc];
43244324
let state = program.getValue(command.state);
4325-
if (state != ``) {
4325+
if (state == ``) {
43264326
state = `{"script":"${program.script}"}`;
43274327
}
43284328
let title = program.getValue(command.title);

js/easycoder/Browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ const EasyCoder_Browser = {
941941
}
942942
const command = program[program.pc];
943943
let state = program.getValue(command.state);
944-
if (state != ``) {
944+
if (state == ``) {
945945
state = `{"script":"${program.script}"}`;
946946
}
947947
let title = program.getValue(command.title);

0 commit comments

Comments
 (0)