Skip to content

Commit ba0e609

Browse files
committed
fixed state error
1 parent dc4d4dc commit ba0e609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpenScript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1846,7 +1846,7 @@ var OpenScript = {
18461846
return target.value[prop];
18471847
}
18481848

1849-
if(!target[prop] && typeof target.value === "object" && target.value[prop]) return target.value[prop];
1849+
if(!target[prop] && target.value && typeof target.value === "object" && target.value[prop]) return target.value[prop];
18501850

18511851
return Reflect.get(...arguments);
18521852
}

0 commit comments

Comments
 (0)