From 9db4a775fa0d9c53dd58f2c069590c4b9b02017a Mon Sep 17 00:00:00 2001 From: Zach Parks Date: Sat, 22 Jun 2024 06:46:59 -0500 Subject: [PATCH] dont blank buttons --- WebHostLib/static/assets/options/player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebHostLib/static/assets/options/player.js b/WebHostLib/static/assets/options/player.js index 4600f5833d1e..8ac21b0e6c2d 100644 --- a/WebHostLib/static/assets/options/player.js +++ b/WebHostLib/static/assets/options/player.js @@ -243,7 +243,7 @@ const choosePreset = (event) => { } document.querySelectorAll('#options-form input, #options-form select').forEach((input) => { - if (input.id === 'player-name') { + if (input.id === 'player-name' || input.type === 'submit') { return; }