jquery-cookiebar
Advanced tools
Comparing version 1.0.0 to 1.0.2
@@ -178,5 +178,14 @@ /* | ||
}; | ||
$('#cookie-bar .cb-enable').click(function(){cookieAccept();return false;}); | ||
$('#cookie-bar .cb-disable').click(function(){cookieDecline();return false;}); | ||
$(document).on('click touchstart', '#cookie-bar .cb-enable',function($event) { | ||
event.preventDefault(); | ||
cookieAccept(); | ||
return false; | ||
}); | ||
$(document).on('click touchstart', '#cookie-bar .cb-disable',function($event) { | ||
event.preventDefault(); | ||
cookieDecline(); | ||
return false; | ||
}); | ||
if(options.acceptOnScroll){ | ||
@@ -183,0 +192,0 @@ var scrollStart = $(document).scrollTop(),scrollNew,scrollDiff; |
{ | ||
"name": "jquery-cookiebar", | ||
"version": "1.0.0", | ||
"version": "1.0.2", | ||
"description": "jQuery CookieBar Plugin", | ||
@@ -5,0 +5,0 @@ "main": "jquery.cookiebar.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17299
208