diff options
| author | levlam <levlam@telegram.org> | 2021-06-08 19:22:52 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2021-06-08 19:22:52 +0300 |
| commit | 29f11170be4a49da8fbe2e0c191a56f4fa11bdb3 (patch) | |
| tree | 260f9dd964691178b27cd0a5012a359cbcf3c030 /build.html | |
| parent | 4eb391decd6a942c50bebb38f74bd5eb2e8d432c (diff) | |
Fix Back button in build.html on the main page.
Diffstat (limited to 'build.html')
| -rw-r--r-- | build.html | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'); } |
