add correct event listener
This commit is contained in:
parent
847f2d4d64
commit
1ce205c17b
@ -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