Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Commit

Permalink
fix: remove fitness info on card details
Browse files Browse the repository at this point in the history
FIFA 21 no longer uses fitness card

fixes #231
  • Loading branch information
Mardaneus86 committed Oct 5, 2020
1 parent 5e68376 commit 694747d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/transferlist/card-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export class CardInfoSettings extends SettingsEntry {
super('card-info', 'Extra card information', null);

this.addSetting('Show contracts', 'show-contracts', true, 'checkbox');
this.addSetting('Show fitness', 'show-fitness', true, 'checkbox');
}
}

Expand Down Expand Up @@ -70,11 +69,6 @@ class CardInfo extends BaseScript {
}

let info = '';
if (settings['show-fitness'].toString() === 'true') {
info += `<div class="fitness" style="position: absolute;left: 5px;bottom: -3px;">
F:${items[index].data.fitness}
</div>`;
}

if (settings['show-contracts'].toString() === 'true') {
info += `<div class="contracts" style="position: absolute;right: 5px;bottom: -3px;">
Expand Down

0 comments on commit 694747d

Please sign in to comment.