Skip to content

Commit

Permalink
Update app.js | Remove setup wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
Gos2two committed Aug 14, 2023
1 parent 37c93ca commit 1176bf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file modified index.html.gz
Binary file not shown.
5 changes: 3 additions & 2 deletions www/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,8 @@ function initUI_4() {
// showSetupWizardIfAP();
// DISABLE WIZARD FOR NOW
hideSplashScreen();
setupdlg();
setupdone();
// setupdlg();
}
}

Expand All @@ -552,7 +553,7 @@ function isWiFiInAPMode(response) {
var settingName = data[0].trim().toLowerCase();
var settingValue = data[1].trim().toLowerCase();
console.log(settingName + " = " + settingValue);
if ((settingName === 'current wifi mode' || settingName === 'active mode') && (settingValue.includes('access point') || settingValue.includes('ap'))) {
if ((settingName === 'current wifi mode' || settingName === 'active mode') && (settingValue.includes('access point'))) {
return true;
}
}
Expand Down

0 comments on commit 1176bf5

Please sign in to comment.