From 70d484d8a16a730a28edd693a3e9f4bf978b0353 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Thu, 24 Sep 2020 08:42:23 +0100 Subject: [PATCH] Construct the URL using normalizeUrl Co-authored-by: Nikita Karamov --- src/script/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/index.js b/src/script/index.js index 7465075..880b8c8 100644 --- a/src/script/index.js +++ b/src/script/index.js @@ -92,7 +92,7 @@ choose_instance.addEventListener('focus', function (e) { }) choose_instance.addEventListener('change', function (e) { - instance.value = `https://${choose_instance.value}`; + instance.value = normalizeUrl(choose_instance.value); }); document