1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Merge pull request #179 from mattbrictson/no-thanks-really

"No thanks" should apply to entire site
This commit is contained in:
Lee Hambley 2016-03-01 08:54:49 +01:00
commit 7a047b3a8a

View file

@ -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');
});