Skip to content

Commit

Permalink
Remove comment about co-existing cookie banners
Browse files Browse the repository at this point in the history
as we don't have 2 banners anymore
  • Loading branch information
alex-ju committed Jul 12, 2019
1 parent 6504370 commit c26a778
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ window.GOVUK.Modules = window.GOVUK.Modules || {};
this.$module.cookieBanner = document.querySelector('.gem-c-cookie-banner')
this.$module.cookieBannerConfirmationMessage = this.$module.querySelector('.gem-c-cookie-banner__confirmation')

// Temporary check while we have 2 banners co-existing.
// Once the new banner has been deployed, we will be able to remove code relating to the old banner
// Separating the code out like this does mean some repetition, but will make it easier to remove later
this.setupCookieMessage()

// Listen for cross-origin communication messages (e.g. hideCookieBanner for when previewing GOV.UK pages
Expand Down

0 comments on commit c26a778

Please sign in to comment.