Skip to content

Commit

Permalink
cursor copy
Browse files Browse the repository at this point in the history
  • Loading branch information
klausbreyer committed Sep 29, 2023
1 parent eb0f31a commit 9e553d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/html.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func getBook(data DataBook) template.HTML {
return grr.Render(`
<a id="{{.BookIndex}}" href="#{{.BookIndex}}">#{{.BookIndex}}</a>
<h2 onclick="copyToClipboard('{{.Book.Title}}, {{.Book.Author}}, {{.Book.FirstHighlightYear}}')" > {{.Book.Title}}, {{.Book.Author}}, {{.Book.FirstHighlightYear}}</h2>
<span onclick="copyToClipboard('{{.Book.SourceURL}}')" >{{.Book.SourceURL}}</span>
<span onclick="copyToClipboard('{{.Book.SourceURL}}')" style="cursor:copy;" >{{.Book.SourceURL}}</span>
<a href="{{.Book.SourceURL}}" target="_blank">&raquo;</a>
<ul>
Expand Down

0 comments on commit 9e553d0

Please sign in to comment.