Skip to content

Commit 4586460

Browse files
committed
Title updated
1 parent aee2694 commit 4586460

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css">
66
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
77
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
8-
<link rel="stylesheet" href="/css/ethplorer.css">
8+
<link rel="stylesheet" href="/css/ethplorer.css?v=10">
99
<meta charset="utf-8">
1010
<meta http-equiv="X-UA-Compatible" content="IE=edge">
1111
<meta name="referrer" content="never" />
@@ -17,8 +17,8 @@
1717
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
1818
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
1919
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
20-
<script src="/js/bignumber.js?v=9"></script>
21-
<script src="/js/ethplorer.js?v=9"></script>
20+
<script src="/js/bignumber.js"></script>
21+
<script src="/js/ethplorer.js?v=10"></script>
2222
<script src="/cfg/config.ethplorer.js?v=3"></script>
2323
</head>
2424
<body>

js/ethplorer.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ Ethplorer = {
441441
);
442442
}
443443

444-
titleAdd = 'Token ' + oToken.name + ' Information';
444+
titleAdd = 'Token ' + oToken.name + (oToken.symbol ? (' [' + oToken.symbol + ']') : '' ) + ' Information';
445445
$('.address-token-name').text(oToken.name);
446446
if(Ethplorer.Config.updateLink){
447447
$('.address-token-name:eq(0)').append('<a href="' + Ethplorer.Config.updateLink + '" target="_blank" class="token-update">Update</a>')
@@ -551,7 +551,7 @@ Ethplorer = {
551551
}
552552

553553
document.title += (': ' + (titleAdd ? (titleAdd + ' -') : ''));
554-
document.title += ((data.isContract ? ' contract ' : ' address ') + address);
554+
document.title += ((data.isContract ? ' Ethereum contract ' : ' Ethereum address ') + address);
555555

556556
$('.local-time-offset').text(Ethplorer.Utils.getTZOffset());
557557
Ethplorer.Utils.hideEmptyFields();

0 commit comments

Comments
 (0)