diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 6f77c282b..37e827532 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -1,8 +1,7 @@ -/* global $ */ - //= require govuk_publishing_components/dependencies -//= require govuk_publishing_components/lib +//= require govuk_publishing_components/lib/cookie-functions +//= require govuk_publishing_components/lib/header-navigation //= require govuk_publishing_components/lib/track-click //= require analytics @@ -10,12 +9,9 @@ //= require govuk_publishing_components/components/cookie-banner //= require govuk_publishing_components/components/layout-header //= require govuk_publishing_components/components/feedback -//= require govuk_publishing_components/modules //= require modules/global-bar //= require modules/cross-domain-tracking //= require global-bar-init //= require surveys - -window.GOVUK.modules.start($(document))