I noticed the cookie banner saves an empty cookie_status cookie when users click the save button after selecting only essential cookies. Then, when reloading the page or visiting another page, the cookie banner appears again. You have to accept another cookie category for the banner to remember the consent.
After adding a !features.length check in the save() function and setting it to MINUMUM_FEATURES it works as intended.
First of all, thanks for this great plugin!
I noticed the cookie banner saves an empty
cookie_status
cookie when users click the save button after selecting only essential cookies. Then, when reloading the page or visiting another page, the cookie banner appears again. You have to accept another cookie category for the banner to remember the consent.After adding a
!features.length
check in thesave()
function and setting it toMINUMUM_FEATURES
it works as intended.