make sure stage has keyboard focus when loading Snap

pull/95/head
jmoenig 2020-04-04 17:42:24 +02:00
rodzic d711777cfb
commit 1e9ffeda60
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -78,7 +78,7 @@ Animation, BoxMorph, BlockEditorMorph, BlockDialogMorph, Note*/
// Global stuff //////////////////////////////////////////////////////// // Global stuff ////////////////////////////////////////////////////////
modules.gui = '2020-March-23'; modules.gui = '2020-April-04';
// Declarations // Declarations
@ -547,7 +547,7 @@ IDE_Morph.prototype.openIn = function (world) {
} else if (location.hash.substr(0, 7) === '#signup') { } else if (location.hash.substr(0, 7) === '#signup') {
this.createCloudAccount(); this.createCloudAccount();
} }
this.loadNewProject = false; this.loadNewProject = false;
} }
if (this.userLanguage) { if (this.userLanguage) {
@ -556,7 +556,7 @@ IDE_Morph.prototype.openIn = function (world) {
} else { } else {
interpretUrlAnchors.call(this); interpretUrlAnchors.call(this);
} }
world.keyboardFocus = this.stage;
this.warnAboutIE(); this.warnAboutIE();
}; };