Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //button for privacy page
- $( "#decline-button" ).on('click', function() {
- //setting the cookies
- $.cookie("cc_cookie_accept", null, {
- path: '/'
- });
- $.cookie("cc_cookie_decline", "cc_cookie_decline", {
- expires: $.cookieCuttr.cookieExpires,
- path: '/'
- });
- location.reload(); //reload the page
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement