Skip to content

Commit

Permalink
hide cookie notice instead of reloading site
Browse files Browse the repository at this point in the history
  • Loading branch information
torhoehn committed Jul 23, 2018
1 parent f01227c commit 87962d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Cookie/view/frontend/web/js/notices.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ define([
});

if ($.mage.cookies.get(this.options.cookieName)) {
window.location.reload();
this.element.hide();
} else {
window.location.href = this.options.noCookiesUrl;
}
Expand Down

0 comments on commit 87962d6

Please sign in to comment.