From f6fab6415e86daa4e4372412968d70ca6bdf8620 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Fri, 29 Nov 2019 01:58:07 +0300 Subject: common feature-disabled class --- web/share/js/kvm/msd.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/share/js/kvm/msd.js') 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); } }; -- cgit v1.2.3