From e51a42dc14dbad027ffd437d2a37763c337b860c Mon Sep 17 00:00:00 2001 From: LordGrey <48840279+Lord-Grey@users.noreply.github.com> Date: Wed, 20 Oct 2021 21:21:25 +0200 Subject: [PATCH] Update content_index.js (#1360) --- assets/webconfig/js/content_index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/webconfig/js/content_index.js b/assets/webconfig/js/content_index.js index f7d3047a..c8999772 100644 --- a/assets/webconfig/js/content_index.js +++ b/assets/webconfig/js/content_index.js @@ -208,7 +208,10 @@ $(document).ready(function () { removeStorage("loginToken", true); requestRequiresAdminAuth(); } - else { + else if (event.reason == "Selected Hyperion instance isn't running") { + //Switch to default instance + instanceSwitch(0); + } else { showInfoDialog("error", "Error", event.reason); } });