Skip to content

Commit b97e53e

Browse files
committed
Show eth transfers.
1 parent e1ad46c commit b97e53e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

js/ethplorer.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ Ethplorer = {
5959
}
6060
}
6161
Ethplorer.showTx = Ethplorer.Storage.get('showTx', null);
62+
var showTxHash = window.location.hash.substr(1);
63+
if(showTxHash){
64+
aShowTxHash = showTxHash.split('=');
65+
if(aShowTxHash.length > 1 && (aShowTxHash[0] == 'showTx') && (['all', 'eth', 'tokens'].indexOf(aShowTxHash[1]) >= 0)){
66+
Ethplorer.showTx = aShowTxHash[1];
67+
Ethplorer.Storage.set('showTx', aShowTxHash[1]);
68+
}
69+
}
6270
Ethplorer.route();
6371
$('#network').text(Ethplorer.Config.testnet ? 'Test' : 'Modern');
6472
$('.navbar-nav li[data-page]').click(function(){

0 commit comments

Comments
 (0)