We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f857f8 commit 0c25761Copy full SHA for 0c25761
1 file changed
src/livecodes/core.ts
@@ -2834,7 +2834,8 @@ const handleCommandMenu = async () => {
2834
anotherShortcut = false;
2835
setTimeout(async () => {
2836
if (anotherShortcut) return;
2837
- if (ninja.__visible === false || ninja.data.length === 0) {
+ // eslint-disable-next-line no-underscore-dangle
2838
+ if (ninja?.__visible === false || ninja?.data?.length === 0) {
2839
ninja.focus();
2840
requestAnimationFrame(() => openCommandMenu());
2841
}
0 commit comments