diff --git a/app/club/index.js b/app/club/index.js index 61306fe..aa1b60e 100644 --- a/app/club/index.js +++ b/app/club/index.js @@ -44,9 +44,7 @@ class ClubInfo extends BaseScript { setTimeout(() => { if ($('.MyClubItemsSearchHeader').find('#download-club-info').length === 0) { $('.MyClubItemsSearchHeader').append(` -
- Download player list -
+
`); $('#download-club-info').click(async () => { if (this._running) { return; } diff --git a/app/club/style/club-info.scss b/app/club/style/club-info.scss index 7df13f1..4d5e7cf 100644 --- a/app/club/style/club-info.scss +++ b/app/club/style/club-info.scss @@ -1,7 +1,8 @@ #download-club-info { - .btn:before { - background-image: none; - width: 0; + button { + height: 2em; + line-height: 2em; + padding: 0 30px; } position: absolute; diff --git a/app/settings/html/index/settings.html b/app/settings/html/index/settings.html index 8084a9c..74dd33b 100644 --- a/app/settings/html/index/settings.html +++ b/app/settings/html/index/settings.html @@ -1,4 +1,4 @@ - @@ -6,4 +6,4 @@

FUT Tampermonkey settings

- \ No newline at end of file + diff --git a/app/settings/index.scss b/app/settings/index.scss index 8384ff5..7ede15b 100644 --- a/app/settings/index.scss +++ b/app/settings/index.scss @@ -1,5 +1,5 @@ .futsettings-toggle { - position: absolute; + position: absolute !important; bottom: 20px; right: 20px; z-index: 999; @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/app/transferlist/min-bin.js b/app/transferlist/min-bin.js index 48a9f37..1e65dbf 100644 --- a/app/transferlist/min-bin.js +++ b/app/transferlist/min-bin.js @@ -70,7 +70,7 @@ class MinBin extends BaseScript { $(mutation.target).find('.DetailPanel ul').prepend(``); $('#searchMinBin').bind('click', async () => { - let btn = $('#searchMinBin'); + const btn = $('#searchMinBin'); btn.find('.btn-text').html('Searching minimum BIN...'); const settings = this.getSettings(); const minimumBin = await new TransferMarket().searchMinBuy(selectedItem, parseInt(settings['mean-count'], 10)); @@ -85,7 +85,6 @@ class MinBin extends BaseScript { selectedItem = this._getSelectedItem(); - //btn = $('#searchMinBin'); if (btn.data('resource-id') === selectedItem.resourceId) { btn.find('.btn-text').html(`Search minimum BIN (${minimumBin})`);