From a9a7bbb2561b6313093e6ea4c7e2721ebb8b4b03 Mon Sep 17 00:00:00 2001 From: bitpshr Date: Wed, 21 Mar 2018 09:06:22 -0400 Subject: [PATCH] Re-add comment detailing failed XHR request --- src/app/tabs/settings-tab.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/tabs/settings-tab.js b/src/app/tabs/settings-tab.js index 326d9366c4..760af0fade 100644 --- a/src/app/tabs/settings-tab.js +++ b/src/app/tabs/settings-tab.js @@ -192,6 +192,8 @@ function SettingsTab (appAPI = {}, appEvents = {}, opts = {}) { }, (error, response, data) => { if (error || !data) { tooltip('Cannot load compiler version list. It might have been blocked by an advertisement blocker. Please try deactivating any of them from this page and reload.') + + // loading failed for some reason, fall back to local compiler versionSelector.append(new Option('latest local version', 'builtin')) loadVersion('builtin', queryParams, appAPI, el) return