Skip to content

Commit

Permalink
Merge pull request #184 from syjn99/fix/epoch-copy-timestamp
Browse files Browse the repository at this point in the history
fix: make timestamp copy btn work in epoch page
  • Loading branch information
pk910 authored Dec 2, 2024
2 parents d0e0fd2 + 07fedb4 commit 123290f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/epoch/epoch.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h1 class="h4 my-3 mb-md-0 h1-pager">
<div class="col-md-6">
<span aria-ethereum-date="{{ .Ts.Unix }}" aria-ethereum-date-format="FROMNOW">{{ .Ts }}</span>
(<span id="timestamp" aria-ethereum-date="{{ .Ts.Unix }}" aria-ethereum-date-format="LOCAL" data-timer="{{ .Ts.Unix }}">{{ formatRecentTimeShort .Ts }}</span>)
<i class="fa fa-copy text-muted p-1" role="button" data-bs-toggle="tooltip" title="Copy to clipboard" onclick="copyTs()"></i>
<i class="fa fa-copy text-muted p-1" role="button" data-bs-toggle="tooltip" title="Copy to clipboard" data-clipboard-text="{{ .Ts }}"></i>
</div>
</div>
<div class="row border-bottom p-2 mx-0">
Expand Down

0 comments on commit 123290f

Please sign in to comment.