Fix Back button in build.html on the main page.
This commit is contained in:
parent
d80b613b55
commit
0c3893737e
|
@ -229,7 +229,7 @@ function onLanguageChanged(initial) {
|
||||||
if (supported_os.length) {
|
if (supported_os.length) {
|
||||||
document.getElementById('osSelectDiv').style.display = 'block';
|
document.getElementById('osSelectDiv').style.display = 'block';
|
||||||
} else {
|
} else {
|
||||||
if (history.state != '') {
|
if (history.state !== '' && history.state !== null) {
|
||||||
history.pushState('', '', 'build.html');
|
history.pushState('', '', 'build.html');
|
||||||
}
|
}
|
||||||
document.getElementById('osSelectDiv').style.display = 'none';
|
document.getElementById('osSelectDiv').style.display = 'none';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user