app/assets/javascripts/cookies_eu.js in cookies_eu-1.0.8 vs app/assets/javascripts/cookies_eu.js in cookies_eu-1.0.9
- old
+ new
@@ -2,9 +2,9 @@
//= require jquery.cookie
$(document).ready( function(){
$('.cookies-eu-ok').click(function(e){
e.preventDefault();
- $.cookie('cookie_eu_consented', 'true', { path: '/'});
+ $.cookie('cookie_eu_consented', 'true', { path: '/', expires: 365 });
$('.cookies-eu').remove();
});
});
\ No newline at end of file