Skip to content
Permalink
Browse files

collection fixes

  • Loading branch information...
Manuel-777 committed Jul 3, 2019
1 parent 576f411 commit 4a023c04e4479e7e3246296713610ded49505827
Showing with 4 additions and 1 deletion.
  1. BIN images/sets/M20.png
  2. +4 −1 window_main/collection.js
BIN +1.9 KB (170%) images/sets/M20.png
Binary file not shown.
@@ -221,7 +221,9 @@ function openCollectionTab() {
filteredMana = [];
orderedSets = [];
for (let set in db.sets) {
orderedSets.push(set);
if (set !== "") {
orderedSets.push(set);
}
}

orderedSets.sort((a, b) => {
@@ -650,6 +652,7 @@ function printStats() {
orderedSets
.slice()
.reverse()
.filter(set => set !== "")
.forEach(set => {
let rs = renderSetStats(stats[set], db.sets[set].code, set);
mainstats.appendChild(rs);

0 comments on commit 4a023c0

Please sign in to comment.
You can’t perform that action at this time.