Merge pull request #2436 from SimonFair/Bug-Language-issue-for-bootvga-value-

Fix: bootvga  check.
This commit is contained in:
tom mortensen
2025-10-22 14:11:41 -07:00
committed by GitHub

View File

@@ -2597,7 +2597,7 @@ $(function() {
}
$("#gpubootvga"+myindex).removeClass();
if (mylabel == "_(None)_") $("#gpubootvga"+myindex).addClass('hidden');
if (myvalue != "_(virtual)_" && myvalue != "" && myvalue != "_(nogpu)_") {
if (myvalue != "virtual" && myvalue != "" && myvalue != "nogpu") {
if (ValidGPUs[myvalue].bootvga != "1") $("#gpubootvga"+myindex).addClass('hidden');
} else {
$("#gpubootvga"+myindex).addClass('hidden');