mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
"No thanks" should apply to entire site
This fixes a bug where dismissing the modal with "no thanks" would hide it for the current page, but the modal would then reappear when navigating to another page.
This commit is contained in:
parent
3161c0213f
commit
de195ee374
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
|||
ga('send', 'event', 'harrowBanner', 'clickthrough');
|
||||
});
|
||||
$(".harrowBanner__dismissLink").on('click', function (e) {
|
||||
$.cookie('harrowBanner__dismissed', '1', { expires: 10});
|
||||
$.cookie('harrowBanner__dismissed', '1', { path: "/", expires: 10 });
|
||||
$('.harrowBanner').hide();
|
||||
ga('send', 'event', 'harrowBanner', 'dismiss');
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue