From 546f9f37bac0a51cdb7d31c0aaa8ded15270c5c6 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 28 May 2023 16:32:36 +0200 Subject: [PATCH] enabling undefined ar --- 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 6385b19..393bf0b 100644 --- a/res/panorama/script.js +++ b/res/panorama/script.js @@ -85,5 +85,5 @@ function check_param() } img_url = 'http://207.180.212.190/fht/fabrika_imgs/' + img_url + '.jpg'; //TODO: Change - ASPECT_RATIO = x / y; + if (!x.startsWith(undefined)) ASPECT_RATIO = x / y; } \ No newline at end of file