Hide cookie banner if no-js

Decided in discussions with @quis and @yahoopete
that users without JS available cannot
accept/reject analytics cookies so the banner has
no use.
This commit is contained in:
Tom Byers
2020-01-08 09:43:34 +00:00
parent 73c531f70d
commit f156fe2e95
2 changed files with 9 additions and 16 deletions

View File

@@ -86,7 +86,7 @@ describe("Cookie message", () => {
});
/*
Note: If no JS, the cookie banner shows a button to take you to the cookies page for more information.
Note: If no JS, the cookie banner is hidden.
This works through CSS, based on the presence of the `js-enabled` class on the <body> so is not tested here.
*/