internal/uidriver/js: Remove unnecessary event handlers

This commit is contained in:
Hajime Hoshi 2021-07-23 11:23:01 +09:00
parent 0ec5b7b857
commit fee004c28d

View File

@ -446,11 +446,6 @@ func setWindowEventHandlers(v js.Value) {
}
return nil
}))
v.Call("addEventListener", "gamepadconnected", js.FuncOf(func(this js.Value, args []js.Value) interface{} {
// Do nothing.
return nil
}))
}
func setCanvasEventHandlers(v js.Value) {