From 985e71951ce7cbbb08012af6f5efb57d8193d738 Mon Sep 17 00:00:00 2001 From: Sainan Date: Mon, 6 May 2024 09:28:49 +0200 Subject: [PATCH] improve(webui): clear acquire input on success --- static/webui/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/webui/script.js b/static/webui/script.js index 48cddcb9..b1290f27 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -78,6 +78,7 @@ function doAcquireWarframe() { }); req.done(() => { alert("Warframe added to your inventory! Visit navigation to force an inventory update."); + document.getElementById("warframe-to-acquire").value = ""; }); } @@ -102,6 +103,7 @@ function doAcquireWeapon() { }); req.done(() => { alert("Weapon added to your inventory! Visit navigation to force an inventory update."); + document.getElementById("weapon-to-acquire").value = ""; }); }