Skip to content

Commit

Permalink
Add dismissed to set-cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbr committed Jul 27, 2024
1 parent 2dd591c commit 49cd3d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/resources/scriptlets.js
Original file line number Diff line number Diff line change
Expand Up @@ -3819,6 +3819,7 @@ function setCookie(
'approved', 'disapproved',
'hide', 'hidden',
'essential', 'nonessential',
'dismiss', 'dismissed',
];
const normalized = value.toLowerCase();
const match = /^("?)(.+)\1$/.exec(normalized);
Expand Down

0 comments on commit 49cd3d3

Please sign in to comment.