diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index 26748048f20..4ff1bff8236 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -2265,7 +2265,7 @@ allowedActions.push("restart"); if ((jsonObj.hypervisor != 'KVM' || g_kvmsnapshotenabled == true) - || (jsonObj.hypervisor != 'LXC')) { + && (jsonObj.hypervisor != 'LXC')) { allowedActions.push("snapshot"); } @@ -2299,7 +2299,7 @@ allowedActions.push("reinstall"); if ((jsonObj.hypervisor != 'KVM' || g_kvmsnapshotenabled == true) - || (jsonObj.hypervisor != 'LXC')) { + && (jsonObj.hypervisor != 'LXC')) { allowedActions.push("snapshot"); }