This commit is contained in:
daitingting
2022-11-03 07:58:17 +00:00
parent 0a22ed089c
commit 1eaf98a48a
5 changed files with 10 additions and 15 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ $(function()
var selectedMode = $('[name=mode]:checked').val();
if(mode == selectedMode) return false;
if(selectedMode == 'light')
if(selectedMode == 'light' && hasProgram)
{
$('#selectProgramModal').modal('show');
}