From 1f717fc6b2d546baabaa39965d4d6659b43c7fde Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 24 May 2023 12:10:06 +0200 Subject: [PATCH] returning to index onerror --- res/panorama/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/panorama/script.js b/res/panorama/script.js index 0c7cb66..77d4596 100644 --- a/res/panorama/script.js +++ b/res/panorama/script.js @@ -79,7 +79,7 @@ function check_param() if (img_url == null) { alert("This link seems to be corrupted!"); - //TODO: Return + open("../index.html", "_self"); } img_url = './img/' + img_url + '.jpg'; //TODO: Change