mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
!wip spacing
This commit is contained in:
parent
e77d54c6d1
commit
eceab97b65
1 changed files with 6 additions and 7 deletions
|
@ -8,11 +8,10 @@
|
|||
const existingBaseUrl = window.localStorage.getItem("baseUrl");
|
||||
if (existingBaseUrl === null || existingBaseUrl || existingBaseUrl.length === 0) {
|
||||
document.write('<base href="/' + existingBaseUrl + '" />');
|
||||
if(existingBaseUrl.length === 0)
|
||||
{
|
||||
document.write(" <link rel=\"stylesheet\" href='/loading.css'/>")
|
||||
if (existingBaseUrl.length === 0) {
|
||||
document.write("<link rel=\"stylesheet\" href='/loading.css'/>")
|
||||
} else {
|
||||
document.write(" <link rel=\"stylesheet\" href='" + existingBaseUrl + "/loading.css'/>")
|
||||
document.write("<link rel=\"stylesheet\" href='" + existingBaseUrl + "/loading.css'/>")
|
||||
}
|
||||
} else {
|
||||
// Work out the base URL
|
||||
|
@ -33,7 +32,7 @@
|
|||
hasFile = true;
|
||||
debugger;
|
||||
document.write('<base href="/' + data + '" />');
|
||||
document.write(" <link rel=\"stylesheet\" href=" + data + "/loading.css\"/>")
|
||||
document.write("<link rel=\"stylesheet\" href=" + data + "/loading.css\"/>")
|
||||
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;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue