From: Benjamin Auder Date: Sun, 24 Oct 2021 21:21:08 +0000 (+0200) Subject: Fix spaces: \t --> ' ' X-Git-Url: https://git.auder.net/images/assets/doc/html/current/R.css?a=commitdiff_plain;h=2c1541bacfb951cd6dc8def207ea1f7c7f364a48;p=rpsls-web.git Fix spaces: \t --> ' ' --- diff --git a/rpsls.js b/rpsls.js index 92ec9fc..bf5df63 100644 --- a/rpsls.js +++ b/rpsls.js @@ -25,11 +25,11 @@ let Seek = { Seek.searching = true; } }, - view: function(vnode) { + view: function(vnode) { if (Seek.searching) return m("img.animated", {src: "assets/searching.gif"}); - return m("button", {onclick: Seek.seekGame}, "Play"); - } + return m("button", {onclick: Seek.seekGame}, "Play"); + } }; const Choices = @@ -144,7 +144,7 @@ socket.on("move", (msg) => { }); m.route(document.body, "/seek", { - "/seek": Seek, - "/play": Play, + "/seek": Seek, + "/play": Play, "/login": Login });