returning to index onerror

This commit is contained in:
Václav Šmejkal 2023-05-24 12:10:06 +02:00
parent ca126dc80a
commit 1f717fc6b2
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59

View File

@ -79,7 +79,7 @@ function check_param()
if (img_url == null) if (img_url == null)
{ {
alert("This link seems to be corrupted!"); alert("This link seems to be corrupted!");
//TODO: Return open("../index.html", "_self");
} }
img_url = './img/' + img_url + '.jpg'; //TODO: Change img_url = './img/' + img_url + '.jpg'; //TODO: Change