Skip to content

Commit

Permalink
more optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
mexikoedi committed Sep 7, 2024
1 parent 7d7bfdf commit 616bb4b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ <h2 class="p-3">About</h2>
</section>

<footer class="text-md-center py-4" aria-label="Footer with copyright information">
<p>&copy; 2020-<script>document.write(new Date().getFullYear())</script> mexikoedi. All rights reserved.</p>
<p>&copy; 2020-<script async>document.write(new Date().getFullYear())</script> mexikoedi. All rights reserved.</p>
</footer>

<!-- bootstrap import and scrolling listener for navbar -->
Expand All @@ -360,6 +360,12 @@ <h2 class="p-3">About</h2>

window.addEventListener('wheel', function () {
}, { passive: true });

window.addEventListener('touchstart', function () {
}, { passive: true });

window.addEventListener('touchmove', function () {
}, { passive: true });
});
</script>
</body>
Expand Down

0 comments on commit 616bb4b

Please sign in to comment.