Skip to content

Commit 896034c

Browse files
committed
Merge branch 'MC-30741' of https://github.com/magento-mpi/magento2ce into PR-13-02-2020
2 parents d4acf83 + 24d9042 commit 896034c

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Cookie/view/frontend/web/js

1 file changed

+1
-0
lines changed

app/code/Magento/Cookie/view/frontend/web/js/notices.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ define([
3030

3131
if ($.mage.cookies.get(this.options.cookieName)) {
3232
this.element.hide();
33+
$(document).trigger('user:allowed:save:cookie');
3334
} else {
3435
window.location.href = this.options.noCookiesUrl;
3536
}

0 commit comments

Comments
 (0)