Skip to content

Commit

Permalink
Merge pull request #389 from hyphacoop/fix-work-page
Browse files Browse the repository at this point in the history
Remove case study link
  • Loading branch information
tripledoublev authored Sep 13, 2024
2 parents b731b45 + 73fb24f commit bcb9ea1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions work.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,10 @@ <h2 class="f2 sans-serif accent mb3 mt4">
const contentDiv = containerEl.previousElementSibling;
const excerpt = contentDiv.dataset.excerpt;
const content = contentDiv.dataset.content;
const caseStudyLink = contentDiv.dataset.caseStudy;

let toggled = contentDiv.dataset.toggled === "true";
if (!toggled) {
contentDiv.innerHTML = content + caseStudyLink;
contentDiv.innerHTML = content;
toggleEl.innerHTML = "[read less]";
contentDiv.dataset.toggled = "true";
toggleEl.setAttribute("aria-expanded", "true");
Expand Down

0 comments on commit bcb9ea1

Please sign in to comment.