Skip to content

Commit

Permalink
Fix Back button in build.html on the main page.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Jun 8, 2021
1 parent d80b613 commit 0c38937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
if (supported_os.length) {
document.getElementById('osSelectDiv').style.display = 'block';
} else {
if (history.state != '') {
if (history.state !== '' && history.state !== null) {
history.pushState('', '', 'build.html');
}
document.getElementById('osSelectDiv').style.display = 'none';
Expand Down

0 comments on commit 0c38937

Please sign in to comment.