diff --git a/build.html b/build.html index facbd02..f80af61 100644 --- a/build.html +++ b/build.html @@ -121,7 +121,7 @@ function onLoad(initial) { function onOsChanged(initial) { var os = document.getElementById('osSelect').value; if (os.includes('Choose ')) { - if (history.state != '') { + if (history.state !== '' && history.state !== null) { history.pushState('', '', 'build.html'); } diff --git a/dist/oauth2-redirect.html b/dist/oauth2-redirect.html index 8565155..64b171f 100644 --- a/dist/oauth2-redirect.html +++ b/dist/oauth2-redirect.html @@ -4,8 +4,6 @@