kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
Fix whitespace issues
rodzic
d408bfb71d
commit
e5b9b69ec0
|
@ -3432,21 +3432,21 @@ function doubleCompile(award, firstLevel)
|
||||||
|
|
||||||
function listShortInstances()
|
function listShortInstances()
|
||||||
{
|
{
|
||||||
let shortInstances = [];
|
let shortInstances = [];
|
||||||
if (typeof window.opener.g_instancesIndex != "undefined" && typeof window.opener.g_instances != "undefined")
|
if (typeof window.opener.g_instancesIndex != "undefined" && typeof window.opener.g_instances != "undefined")
|
||||||
|
{
|
||||||
|
if (window.opener.g_instancesIndex.length > 1)
|
||||||
{
|
{
|
||||||
if (window.opener.g_instancesIndex.length > 1)
|
let instances = window.opener.g_instances;
|
||||||
|
let keys = Object.keys(instances).sort();
|
||||||
|
for (let key in keys)
|
||||||
{
|
{
|
||||||
let instances = window.opener.g_instances;
|
let inst = keys[key];
|
||||||
let keys = Object.keys(instances).sort();
|
let sp = inst.split(" - ");
|
||||||
for (let key in keys)
|
let shortInst = sp[sp.length - 1].substring(0, 18);
|
||||||
{
|
shortInstances.push(shortInst);
|
||||||
let inst = keys[key];
|
|
||||||
let sp = inst.split(" - ");
|
|
||||||
let shortInst = sp[sp.length - 1].substring(0, 18);
|
|
||||||
shortInstances.push(shortInst);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return shortInstances;
|
return shortInstances;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue