We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1ad46c commit b97e53eCopy full SHA for b97e53e
js/ethplorer.js
@@ -59,6 +59,14 @@ Ethplorer = {
59
}
60
61
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
70
Ethplorer.route();
71
$('#network').text(Ethplorer.Config.testnet ? 'Test' : 'Modern');
72
$('.navbar-nav li[data-page]').click(function(){
0 commit comments