Skip to content

Commit

Permalink
Set erase_chip as default option when not set before
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Dec 28, 2023
1 parent 6577697 commit d16bc6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/js/tabs/firmware_flasher.js
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,9 @@ firmware_flasher.initialize = function (callback) {
self.isFlashing = false;
}

// initialize erase_chip as default option
$('input.erase_chip').prop('checked', true);

let result = getConfig('erase_chip');
if (result.erase_chip) {
$('input.erase_chip').prop('checked', true);
Expand Down

0 comments on commit d16bc6b

Please sign in to comment.