Commit a9a7bbb2 authored by bitpshr's avatar bitpshr

Re-add comment detailing failed XHR request

parent 2204d49f
...@@ -192,6 +192,8 @@ function SettingsTab (appAPI = {}, appEvents = {}, opts = {}) { ...@@ -192,6 +192,8 @@ function SettingsTab (appAPI = {}, appEvents = {}, opts = {}) {
}, (error, response, data) => { }, (error, response, data) => {
if (error || !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.') 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')) versionSelector.append(new Option('latest local version', 'builtin'))
loadVersion('builtin', queryParams, appAPI, el) loadVersion('builtin', queryParams, appAPI, el)
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment