mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-19 18:17:37 +03:00
Fix hits not INT
This commit is contained in:
parent
91c1949a21
commit
17bae4bfba
@ -228,15 +228,10 @@
|
||||
schemasCount = {};
|
||||
$.each(schemasCountTmp, function(schema, hits){
|
||||
schema = schema.replace('http://schemas.elite-markets.net/eddn/', 'https://eddn.edcd.io/schemas/');
|
||||
hits = parseInt(hits);
|
||||
|
||||
if(schemasCount[schema])
|
||||
{
|
||||
schemasCount[schema] += hits;
|
||||
}
|
||||
else
|
||||
{
|
||||
schemasCount[schema] = hits;
|
||||
}
|
||||
if(schemasCount[schema]){ schemasCount[schema] += hits; }
|
||||
else{ schemasCount[schema] = hits; }
|
||||
});
|
||||
|
||||
// Loop results
|
||||
|
Loading…
x
Reference in New Issue
Block a user