Skip to content

Commit

Permalink
Remove inline JS from Liquid template
Browse files Browse the repository at this point in the history
  • Loading branch information
masnick committed Nov 22, 2024
1 parent 0cb669b commit 77f3a05
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions input/liquid/CodeSystem.liquid
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
<!-- Hide unnecessary message about Code System not being used anywhere -->
<script>
let pTags = Array.from(document.getElementsByTagName("p"));
pTags.filter(function(x) { return x.textContent.includes('This Code system is referenced in the content logical definition of the following value sets:')}).forEach(function(t) { t.style.display = "none"});
pTags.filter(function(x) { return x.textContent.includes('This CodeSystem is not used here; it may be used elsewhere (e.g. specifications and/or implementations that use this content)')}).forEach(function(t) {t.style.display = "none"});
</script>
<div xmlns="http://www.w3.org/1999/xhtml">
<table class="table-striped table table-bordered">
<tr>
Expand Down

0 comments on commit 77f3a05

Please sign in to comment.