Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
replete committed Jun 22, 2024
1 parent 5fc5c49 commit 0272656
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion biscuitman.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,12 @@
const cookies = Object.fromEntries(
d.cookie.split('; ').map(cookie => cookie.split('='))
)


const { consentTime, ...consents } = readConsents() || o.sections.slice(1).reduce((consents, section) => {
consents[section] = false;
return { consentTime: undefined, ...consents }
}, {})
}, {})

for (let [section, sectionConsent] of Object.entries(consents)) {
if (sectionConsent) continue
Expand Down

0 comments on commit 0272656

Please sign in to comment.