Skip to content

Commit e28a7a8

Browse files
committed
Updated to prevent automatically setting the focus to the editor when inside an iframe
1 parent b169ba7 commit e28a7a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qbjs-ide.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ var IDE = new function() {
161161
}
162162
});
163163
}
164-
if (appMode == "ide") {
164+
if (appMode == "ide" && !inIframe()) {
165165
editor.focus();
166166
}
167167

0 commit comments

Comments
 (0)