Skip to content

Commit ceda4fd

Browse files
feat: copyright script uniformity
1 parent cfb3737 commit ceda4fd

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

layouts/partials/footer.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414

1515

1616
<div id="mx-footer" class="mx-footer" data-test-id="mx-footer">
17-
<p class="mx-footer__copyright">© Siemens Industry Software Netherlands B.V. <span id="mx-footer__copyright-year"></span>. All rights reserved</p>
17+
<p class="mx-footer__copyright">© Siemens Industry Software Netherlands B.V.
18+
<script type="text/javascript">
19+
var d=new Date();
20+
document.write(d.getFullYear() + ".");
21+
</script>
22+
All rights reserved</p>
1823
<ul class="mx-footer__links-list">
1924
<li>
2025
<a
@@ -68,8 +73,4 @@
6873
</ul>
6974
</div>
7075

71-
<script>
72-
document.getElementById("mx-footer__copyright-year").textContent = new Date().getFullYear();
73-
</script>
74-
7576
<script src="https://dock-static.mendix.com/main.js" async></script>

0 commit comments

Comments
 (0)