mirror of
https://github.com/pretix/pretix.git
synced 2026-05-18 17:24:03 +00:00
Hide cookie-consent-reopen link if external consent info from widget present
This commit is contained in:
@@ -38,7 +38,8 @@ $(function () {
|
|||||||
consent_checkboxes.each(function () {
|
consent_checkboxes.each(function () {
|
||||||
this.checked = storage_val[this.name] = widget_consent.indexOf(this.name) > -1;
|
this.checked = storage_val[this.name] = widget_consent.indexOf(this.name) > -1;
|
||||||
})
|
})
|
||||||
show_dialog = false
|
show_dialog = false;
|
||||||
|
$("#cookie-consent-reopen").hide();
|
||||||
} else if (storage_val) {
|
} else if (storage_val) {
|
||||||
storage_val = JSON.parse(storage_val);
|
storage_val = JSON.parse(storage_val);
|
||||||
consent_checkboxes.each(function () {
|
consent_checkboxes.each(function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user