Skip to content

Commit 7046269

Browse files
author
Stanislav Idolov
authored
ENGCOM-2475: [Forwardport] hide cookie notice instead of reloading site #17020
2 parents cf0507e + f6c12cf commit 7046269

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
@@ -29,7 +29,7 @@ define([
2929
});
3030

3131
if ($.mage.cookies.get(this.options.cookieName)) {
32-
window.location.reload();
32+
this.element.hide();
3333
} else {
3434
window.location.href = this.options.noCookiesUrl;
3535
}

0 commit comments

Comments
 (0)