Skip to content

Commit

Permalink
fix: remove step by step navigation js from layout (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimwashbrook authored Feb 22, 2024
1 parent ae8c814 commit d4cbfa8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Dfe.PlanTech.Web/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,10 @@
@section BodyEnd {
<script src="~/js/app.js"></script>
<script src="~/js/govuk-frontend.min.js" type="module"></script>
<script src="/js/step-by-step-navigation.js"></script>
<script src="/js/step-by-step-polyfills.js"></script>

<script type="module">
import { initAll } from '/js/govuk-frontend.min.js';
initAll();
var $element = document.querySelector('#step-by-step-navigation')
var stepByStepNavigation = new GOVUK.Modules.AppStepNav($element).init()
</script>
}

0 comments on commit d4cbfa8

Please sign in to comment.