mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-11-05 19:47:20 +01:00
Fix Back button in build.html on the main page.
This commit is contained in:
parent
4eb391decd
commit
29f11170be
@ -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');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user