diff --git a/templates/portfolio/card.html b/templates/portfolio/card.html index a79ec0a..e0b0a82 100644 --- a/templates/portfolio/card.html +++ b/templates/portfolio/card.html @@ -1,5 +1,5 @@ {{#metadata}} {{#info}} {{#portfolio}} {{#link}} -
  • +
  • {{>portfolio/project.html}}
  • {{/link}} {{^link}} diff --git a/templates/portfolio/index.html b/templates/portfolio/index.html index b2ce21e..4a3e6fb 100644 --- a/templates/portfolio/index.html +++ b/templates/portfolio/index.html @@ -36,7 +36,7 @@ document.querySelectorAll("main a").forEach(function (link) { link.setAttribute("target", "_blank"); link.setAttribute("rel", "noreferrer"); - link.addEventListener("mousedown", function (event) { + link.addEventListener("mouseup", function (event) { event.stopPropagation(); }); })