Skip to content

Commit

Permalink
Merge pull request #369 from waic/modify-link-js
Browse files Browse the repository at this point in the history
達成基準横のリンク以外も対象になるようにした
  • Loading branch information
bakera authored Feb 26, 2020
2 parents 830433f + bd89bbf commit 361d569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guidelines/waic_link.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ document.addEventListener('DOMContentLoaded', function(){
const lastTrNote = document.querySelector("aside.trnote>p:last-child");
if(lastTrNote) lastTrNote.textContent = trNote;

const w3cDocumentAnchors = document.querySelectorAll(".doclinks a[href*=https\\:\\/\\/www\\.w3\\.org\\/WAI\\/WCAG21]");
const w3cDocumentAnchors = document.querySelectorAll("a[href*=https\\:\\/\\/www\\.w3\\.org\\/WAI\\/WCAG21]");
for(let i = 0; i < w3cDocumentAnchors.length; i++){
const anchor = w3cDocumentAnchors[i];
const href = anchor.getAttribute('href');
Expand Down

0 comments on commit 361d569

Please sign in to comment.