Skip to content

Commit

Permalink
Sort examples
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNitek committed Nov 25, 2023
1 parent 4253730 commit 0f8623a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
fetch('examples.json')
.then(response => response.json())
.then(json => {
json.examples.forEach((element) => {
json.examples.sort().forEach((element) => {
let w = document.importNode(document.getElementById('webflash').content, true);
w.querySelector('button').textContent = 'Install ' + element;
w.querySelector('esp-web-install-button').setAttribute('manifest', element + '/' + type + '/manifest.json');
Expand Down

0 comments on commit 0f8623a

Please sign in to comment.