Skip to content

Commit

Permalink
Add checked/unchecked to set-cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbr committed Aug 19, 2024
1 parent 41c2258 commit 9f5e268
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 9f5e268

Please sign in to comment.