aboutsummaryrefslogtreecommitdiffhomepage
path: root/build.html
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2021-06-08 19:22:52 +0300
committerlevlam <levlam@telegram.org>2021-06-08 19:22:52 +0300
commit29f11170be4a49da8fbe2e0c191a56f4fa11bdb3 (patch)
tree260f9dd964691178b27cd0a5012a359cbcf3c030 /build.html
parent4eb391decd6a942c50bebb38f74bd5eb2e8d432c (diff)
Fix Back button in build.html on the main page.
Diffstat (limited to 'build.html')
-rw-r--r--build.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.html b/build.html
index 7c31d38..338e025 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');
}