diff --git a/scripts/config.js b/scripts/config.js index 4c2122e..d3986e3 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -114,7 +114,7 @@ async function populateForm (node, type, vmid) { } }); - addDiskDevice.addEventListener("hover", () => { + addDiskDevice.addEventListener("focus", () => { let value = document.querySelector("#add-disk #device").value; let bus = document.querySelector("#add-disk #bus").value; let entry = diskConfig[type][bus];