diff --git a/src/Ombi/ClientApp/src/index.html b/src/Ombi/ClientApp/src/index.html index f2b654162..6d9f87cac 100644 --- a/src/Ombi/ClientApp/src/index.html +++ b/src/Ombi/ClientApp/src/index.html @@ -8,11 +8,10 @@ const existingBaseUrl = window.localStorage.getItem("baseUrl"); if (existingBaseUrl === null || existingBaseUrl || existingBaseUrl.length === 0) { document.write(''); - if(existingBaseUrl.length === 0) - { - document.write(" ") + if (existingBaseUrl.length === 0) { + document.write("") } else { - document.write(" ") + document.write("") } } else { // Work out the base URL @@ -33,7 +32,7 @@ hasFile = true; debugger; document.write(''); - document.write(" ") + document.write("") window.localStorage.setItem("baseUrl", data); function tryGetBaseUrl(xmlhttp, url) { @@ -47,8 +46,8 @@ } function endsWith(str, suffix) { - return str.indexOf(suffix, str.length - suffix.length) !== -1; -} + return str.indexOf(suffix, str.length - suffix.length) !== -1; + } }