add correct event listener
This commit is contained in:
parent
fadf3f206c
commit
2da3d77860
@ -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 value = document.querySelector("#add-disk #device").value;
|
||||||
let bus = document.querySelector("#add-disk #bus").value;
|
let bus = document.querySelector("#add-disk #bus").value;
|
||||||
let entry = diskConfig[type][bus];
|
let entry = diskConfig[type][bus];
|
||||||
|
Loading…
Reference in New Issue
Block a user