Skip to content

Commit a60c972

Browse files
author
Aida Torajiro
authored
Emscripten: fix typo in emscripten-shell.html
1 parent 4ab1f87 commit a60c972

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)