From 5b150dfe5e006398020c2276573ef409285b56d7 Mon Sep 17 00:00:00 2001 From: warriorstar-orion Date: Thu, 25 Jan 2024 14:28:31 -0500 Subject: [PATCH] allow quick spawn with doubleclick (#23851) --- html/create_object.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/html/create_object.html b/html/create_object.html index 49af318f6f0..bcc0f71a270 100644 --- a/html/create_object.html +++ b/html/create_object.html @@ -65,4 +65,10 @@ populateList(filtered); } + + function quickSpawn() { + document.spawner.submit(); + } + + document.getElementById('object_list').ondblclick = quickSpawn;