mirror of
https://github.com/PaiGramTeam/telegram-bot-api.git
synced 2024-11-21 22:48:06 +00: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