returning to index onerror
This commit is contained in:
parent
ca126dc80a
commit
1f717fc6b2
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user