Skip to content

Commit

Permalink
Tested DM link: Works on desktop, but not on phones. Shelfed for now
Browse files Browse the repository at this point in the history
  • Loading branch information
saleemtoure committed Dec 25, 2024
1 parent b5a632c commit 262d99d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,10 @@ function makeBookDisplay(book) {

let igLink = document.createElement("a");
igLink.classList.add("ig-link");
igLink.href = "https://www.instagram.com/direct/t/17842107932207694/";
// igLink.href = book.igLink;
igLink.textContent = "Mer info"; //Kan legge til en bestill
// igLink.href = "https://www.instagram.com/direct/t/17842107932207694/";
// Funker ikke på mobil idk why - Hvis jeg får det til å fungere så kan jeg legge til en bestill knapp
igLink.href = book.igLink;
igLink.textContent = "Mer info";
igLink.target = "_blank";

bookDiv.appendChild(bookBilde);
Expand Down

0 comments on commit 262d99d

Please sign in to comment.