From 205789e55cc3f4236c67537c4019f10382fdd6df Mon Sep 17 00:00:00 2001 From: Zutatensuppe Date: Fri, 7 May 2021 13:14:15 +0200 Subject: [PATCH] single line --- public/game.js | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/public/game.js b/public/game.js index 5f9d641..2f8cd7c 100644 --- a/public/game.js +++ b/public/game.js @@ -96,22 +96,13 @@ function addMenuToDom(previewImageUrl) { } const bgColorPickerEl = colorinput() - const bgColorPickerRow = row( - label('Background: '), - bgColorPickerEl - ) + const bgColorPickerRow = row(label('Background: '), bgColorPickerEl) const playerColorPickerEl = colorinput() - const playerColorPickerRow = row( - label('Color: '), - playerColorPickerEl - ) + const playerColorPickerRow = row(label('Color: '), playerColorPickerEl) const nameChangeEl = textinput(16) - const nameChangeRow = row( - label('Name: '), - nameChangeEl - ) + const nameChangeRow = row(label('Name: '), nameChangeEl) const kbd = function(txt) { const el = document.createElement('kbd')