Skip to content

Commit

Permalink
Open the links from the modal in a new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
porobertdev committed Jan 3, 2024
1 parent 36fb1b5 commit 224e79d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ const api = {
<div class="left">
<img src="https://covers.openlibrary.org/b/id/${this.cover_i}-L.jpg?default=false">
<div class="links">
<a href="https://goodreads.com/book/show/${this.id_goodreads}">
<a href="https://goodreads.com/book/show/${this.id_goodreads}" target="_blank">
<img class="goodreads" src="./assets/icons/goodreads.svg">
</a>
<a href="https://www.amazon.com/dp/${this.id_amazon}">
<a href="https://www.amazon.com/dp/${this.id_amazon}" target="_blank">
<img class="amazon" src="./assets/icons/amazon.svg">
</a>
<img class="read_status" src="./assets/icons/read_status.svg">
Expand Down

0 comments on commit 224e79d

Please sign in to comment.