Skip to content

Commit

Permalink
Minified CSS are now used
Browse files Browse the repository at this point in the history
  • Loading branch information
ToX82 committed Sep 6, 2015
1 parent bc49e1a commit 2eb5b70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cookiebar-latest.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function setupCookieBar() {
* @return null
*/
if (getCookie() == 'CookieDisallowed') {
removeCookie();
removeCookies();
setCookie('cookiebar', 'CookieDisallowed');
}

Expand Down Expand Up @@ -301,7 +301,7 @@ function setupCookieBar() {
* Remove all the cookies and empty localStorage when user refuses cookies
* @return null
*/
function removeCookie() {
function removeCookies() {
// Clear cookies
document.cookie.split(';')
.forEach(function(c) {
Expand Down Expand Up @@ -411,7 +411,7 @@ function setupCookieBar() {
var txt = promptNoConsent.textContent.trim();
var confirm = window.confirm(txt);
if (confirm === true) {
removeCookie();
removeCookies();
setCookie('cookiebar', 'CookieDisallowed');
clearBodyMargin();
fadeOut(prompt, 250);
Expand Down
2 changes: 1 addition & 1 deletion cookiebar-latest.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2eb5b70

Please sign in to comment.