8000 Show eth transfers. · etherscan-io/Ethplorer@08e9823 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

8000
Appearance settings

Commit 08e9823

Browse files
committed
Show eth transfers.
1 parent aa6cfff commit 08e9823

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/ethplorer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ Ethplorer = {
9797
var activeTab = Ethplorer.getActiveTab();
9898
if(activeTab){
9999
if(activeTab != 'transfers'){
100-
Ethplorer.showTx = false;
100+
$('#showTxChecks').hide();
101101
}else{
102-
Ethplorer.showTx = Ethplorer.Storage.get('showTx', 'all');
102+
$('#showTxChecks').show();
103103
}
104104
}
105105
if(Ethplorer.data) Ethplorer.showFilter(Ethplorer.data);
@@ -1262,7 +1262,7 @@ Ethplorer = {
12621262
var tableId = data.token ? 'address-token-transfers' : 'address-transfers';
12631263
$('#' + tableId).find('.table').empty();
12641264
if(Ethplorer.showTx && !$('#showTxEth').length){
1265-
var showTxChecks = '<span style="color: white;vertical-align:middle;"><label for="showTxEth">ETH <sup class="diff-down">new</sup></label></span> <input onClick="Ethplorer.showTransfers(this, \'eth\');" id="showTxEth" type="checkbox" ' + ((Ethplorer.showTx == 'all' || Ethplorer.showTx == 'eth') ? 'checked="checked"' : '') + ' name="showTxEth" value="1" style="vertical-align: text-bottom;margin-right:5px;">' + ' <span style="color: white;vertical-align:middle;"><label for="showTxTokens">Tokens <sup class="diff-down">new</sup></label></span> <input onClick="Ethplorer.showTransfers(this, \'tokens\');" id="showTxTokens" type="checkbox" ' + ((Ethplorer.showTx == 'all' || Ethplorer.showTx == 'tokens') ? 'checked="checked"' : '') + ' name="showTxTokens" value="1" style="vertical-align: text-bottom;margin-right:5px;">';
1265+
var showTxChecks = '<span id="showTxChecks"><span style="color: white;vertical-align:middle;"><label for="showTxEth">ETH <sup class="diff-down">new</sup></label></span> <input onClick="Ethplorer.showTransfers(this, \'eth\');" id="showTxEth" type="checkbox" ' + ((Ethplorer.showTx == 'all' || Ethplorer.showTx == 'eth') ? 'checked="checked"' : '') + ' name="showTxEth" value="1" style="vertical-align: text-bottom;margin-right:5px;">' + ' <span style="color: white;vertical-align:middle;"><label for="showTxTokens">Tokens <sup class="diff-down">new</sup></label></span> <input onClick="Ethplorer.showTransfers(this, \'tokens\');" id="showTxTokens" type="checkbox" ' + ((Ethplorer.showTx == 'all' || Ethplorer.showTx == 'tokens') ? 'checked="checked"' : '') + ' name="showTxTokens" value="1" style="vertical-align: text-bottom;margin-right:5px;"></span>';
12661266

12671267
if(!data.token){
12681268
$('.filter-form').prepend('<style>@media screen and (max-width: 501px) {.filter-box.out-of-tabs{height: 35px !important;}}</style>' + showTxChecks);

0 commit comments

Comments
 (0)
0