Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Fix transaction history link text #2022

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/scripts/directives/balanceDrtv.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h5 translate="sidebar_TransHistory"> Transaction History</h5>
<ul class="account-info">
<li ng-show="ajaxReq.type != 'CUS'">
<a href="{{ajaxReq.blockExplorerAddr.replace('[[address]]', wallet.getAddressString())}}" target="_blank" rel="noopener noreferrer">
{{ajaxReq.type}} ({{ajaxReq.blockExplorerTX.replace('/tx/[[txHash]]', '')}})
{{ajaxReq.type}} ({{ajaxReq.blockExplorerTX.match('://(.*?)/')[1]}})
</a>
</li>
<li ng-show="ajaxReq.type == 'ETH'">
Expand Down Expand Up @@ -147,7 +147,7 @@ <h5 class="u__protip">
href="{{ajaxReq.blockExplorerAddr.replace('[[address]]', wallet.getAddressString())}}"
target="_blank"
rel="noopener noreferrer">
{{ajaxReq.blockExplorerTX.replace('/tx/[[txHash]]', '')}}
{{ajaxReq.blockExplorerTX.match('://(.*?)/')[1]}}
</a>
<span ng-show="ajaxReq.type == 'ETH'"> or
<a href="https://ethplorer.io/address/{{wallet.getAddressString()}}"
Expand Down