Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Change cookie expiration to 1 year (instead of 1 day).
Browse files Browse the repository at this point in the history
  • Loading branch information
r00k committed Jan 13, 2012
1 parent 164349d commit 5a773d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/paul_revere/templates/announcements.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function hideAnnouncement(announcement_created_at) {
createCookie(announcement_created_at, 'hidden', 1);
createCookie(announcement_created_at, 'hidden', 365);
$("#announcement").parent().slideUp();
}

Expand Down

0 comments on commit 5a773d4

Please sign in to comment.