diff --git a/jquery.cookiecuttr.js b/jquery.cookiecuttr.js index 564f554..9cf9552 100644 --- a/jquery.cookiecuttr.js +++ b/jquery.cookiecuttr.js @@ -218,7 +218,7 @@ // for top bar $('.cc-cookie-accept, .cc-cookie-decline').click(function (e) { e.preventDefault(); - if ($(this).is('[href$=#decline]')) { + if ($(this).is("[href$='#decline']")) { $.cookie("cc_cookie_accept", null, { path: '/' }); @@ -287,4 +287,4 @@ location.reload(); }); }; -})(jQuery); \ No newline at end of file +})(jQuery);