summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/msd.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-11-29 01:58:07 +0300
committerDevaev Maxim <[email protected]>2019-11-29 01:58:07 +0300
commitf6fab6415e86daa4e4372412968d70ca6bdf8620 (patch)
treeb64db8acdb95767796f5d3ddbcce5b6d0aa0fc23 /web/share/js/kvm/msd.js
parent3d8f16b9c60cc2ef8547e62f968b5faedf1d8094 (diff)
common feature-disabled class
Diffstat (limited to 'web/share/js/kvm/msd.js')
-rw-r--r--web/share/js/kvm/msd.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/share/js/kvm/msd.js b/web/share/js/kvm/msd.js
index 7f774b69..629bed32 100644
--- a/web/share/js/kvm/msd.js
+++ b/web/share/js/kvm/msd.js
@@ -283,13 +283,13 @@ export function Msd() {
var __toggleMsdFeatures = function() {
for (let el of $$$(".msd-single-storage")) {
- el.classList.toggle("msd-feature-disabled", __state.features.multi);
+ el.classList.toggle("feature-disabled", __state.features.multi);
}
for (let el of $$$(".msd-multi-storage")) {
- el.classList.toggle("msd-feature-disabled", !__state.features.multi);
+ el.classList.toggle("feature-disabled", !__state.features.multi);
}
for (let el of $$$(".msd-cdrom-emulation")) {
- el.classList.toggle("msd-feature-disabled", !__state.features.cdrom);
+ el.classList.toggle("feature-disabled", !__state.features.cdrom);
}
};