Skip to content

Commit

Permalink
Add checked/unchecked to set-cookie (#3923)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbr authored Aug 19, 2024
1 parent 34047da commit 3e2171f
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 @@ -3848,6 +3848,7 @@ function setCookie(
'hide', 'hidden',
'essential', 'nonessential',
'dismiss', 'dismissed',
'checked', 'unchecked',
];
const normalized = value.toLowerCase();
const match = /^("?)(.+)\1$/.exec(normalized);
Expand Down

0 comments on commit 3e2171f

Please sign in to comment.