Permalink
Browse files

Cookie.unset is not a function.

  • Loading branch information...
1 parent 0fbbd20 commit b6cc6d4bd582f84ee83c62fd391962a72c0e53a3 @seancribbs seancribbs committed Jun 24, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 public/javascripts/admin/cookie.js
@@ -58,7 +58,7 @@ Cookie = {
accept: function() {
Cookie.set('b49f729efde9b2578ea9f00563d06e57', 'true');
if (Cookie.get('b49f729efde9b2578ea9f00563d06e57') == 'true') {
- Cookie.unset('b49f729efde9b2578ea9f00563d06e57');
+ Cookie.erase('b49f729efde9b2578ea9f00563d06e57');
return true;
}
return false;
@@ -77,4 +77,4 @@ Cookie = {
return now.toGMTString();
}
}
-}
+}

0 comments on commit b6cc6d4

Please sign in to comment.