Skip to content

Commit

Permalink
Set banner expiry correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Aug 23, 2016
1 parent 2bae7cd commit 9f817f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ $(document).ready(function () {
});

var bannerExpiry = new Date();
expiry.setYear(expiry.getFullYear() + 1);
bannerExpiry.setYear(bannerExpiry.getFullYear() + 1);

$('#banner .close-wrap').on('click', function(e) {
var cookieId = e.target.id;
Expand Down

0 comments on commit 9f817f8

Please sign in to comment.