Skip to content

Commit

Permalink
Merge pull request #1654 from ameshkin/FOIA-183407-svg-icon
Browse files Browse the repository at this point in the history
FOIA-183407: SVG script shouldn't run on sfoc pages.
  • Loading branch information
brockfanning authored Apr 21, 2023
2 parents 8716b1a + 7f892f7 commit f9ec6b9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 5 additions & 2 deletions www.foia.gov/_includes/extlink.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<script src="{{ site.baseurl }}/assets/js/extlink.min.js"></script>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
runExtlink();
}, false);

if(!window.location.href.includes("chief-foia-officers-council")) {
runExtlink();
}

}, false);
function runExtlink() {
extlink({
title: '',
Expand Down
4 changes: 4 additions & 0 deletions www.foia.gov/_sass/theme/_cfoc_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,8 @@
}
}
}

.stroke-color {
stroke: #122E51;
}
}

0 comments on commit f9ec6b9

Please sign in to comment.