Fix style
authorTheSaminator <TheSaminator@users.noreply.github.com>
Mon, 14 Feb 2022 00:35:20 +0000 (19:35 -0500)
committerTheSaminator <TheSaminator@users.noreply.github.com>
Mon, 14 Feb 2022 00:35:20 +0000 (19:35 -0500)
src/jsMain/kotlin/starshipfights/game/client.kt

index f949f37fba23dbd90ba63aba6b4413ab8c4d715e..d5592b2425b159a28c93afe8449837f63f402082 100644 (file)
@@ -37,7 +37,7 @@ fun main() {
                        RenderResources.load(clientMode !is ClientMode.InGame)
                }.display()
                
-               window.addEventListener("beforeunload", {e ->
+               window.addEventListener("beforeunload", { e ->
                        e.preventDefault()
                        e.asDynamic().returnValue = ""
                })