app/assets/javascripts/cookies_eu.js in cookies_eu-1.0.2 vs app/assets/javascripts/cookies_eu.js in cookies_eu-1.0.3
- old
+ new
@@ -1,10 +1,10 @@
//= require jquery
//= require jquery.cookie
$(document).ready( function(){
- $('.cookies_eu_ok').click(function(e){
+ $('.cookies-eu-ok').click(function(e){
e.preventDefault();
$.cookie('cookie_eu_consented', 'true', { path: '/'});
- $(this).parent().remove();
+ $('.cookies-eu').remove();
});
});
\ No newline at end of file