Skip to content

Commit 7976386

Browse files
authored
Merge pull request #3322 from aidatorajiro/patch-2
Emscripten: fix typo in emscripten-shell.html
2 parents 4ab1f87 + a60c972 commit 7976386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/emscripten/emscripten-shell.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270

271271
/** @type {{[key: number]: Gamepad}} */
272272
let gamepads = {};
273-
const haveEvents = 'ongamepadonnected' in window;
273+
const haveEvents = 'ongamepadconnected' in window;
274274

275275
function addGamepad(gamepad) {
276276
if (gamepad == undefined) {

0 commit comments

Comments
 (0)