Skip to content

Commit 1280d3b

Browse files
Merge pull request #17178 to #17172
2 parents 191d873 + 9d645b0 commit 1280d3b

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ define([
2525
});
2626

2727
if ($.mage.cookies.get(this.options.cookieName)) {
28-
window.location.reload();
28+
this.element.hide();
2929
} else {
3030
window.location.href = this.options.noCookiesUrl;
3131
}

0 commit comments

Comments
 (0)