Skip to content

Commit

Permalink
js
Browse files Browse the repository at this point in the history
  • Loading branch information
craig-shenton committed May 19, 2022
1 parent a83cef9 commit 01f185d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion _layouts/center.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
{% include head.html %}

<body class="site{% if site.animated %} animated fade-in-down{% endif %}">

<script>
document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
</script>
<div class="site-wrap center">
<a class="nhsuk-skip-link" href="#maincontent">Skip to main content</a> {% include header.html %}

Expand Down
3 changes: 0 additions & 3 deletions sw.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
---
layout: null
---
var CACHE_NAME = "saikiransripada-{{site.time | date: '%Y%m%d%H%M%S'}}";

self.addEventListener("install", function(e) {
Expand Down

0 comments on commit 01f185d

Please sign in to comment.