Skip to content

Commit

Permalink
Merge pull request #3241 from alphagov/cookie-consent
Browse files Browse the repository at this point in the history
Remove setting of default cookie consent cookie
  • Loading branch information
andysellick authored Feb 2, 2024
2 parents 012084c + 24b1938 commit f7f384c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/assets/javascripts/global-bar-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ var globalBarInit = {
},

getLatestCookie: function () {
if (!window.GOVUK.cookie('cookies_policy')) {
window.GOVUK.setDefaultConsentCookie()
}
var currentCookie = window.GOVUK.getCookie(GLOBAL_BAR_SEEN_COOKIE)

return currentCookie
Expand Down

0 comments on commit f7f384c

Please sign in to comment.