diff --git a/app/javascript/src/javascripts/common.js b/app/javascript/src/javascripts/common.js index 6d8eb9776..f2ae7e975 100644 --- a/app/javascript/src/javascripts/common.js +++ b/app/javascript/src/javascripts/common.js @@ -9,7 +9,7 @@ $(function() { $("#hide-promotion-notice").on("click.danbooru", function(e) { $("#promotion-notice").hide(); - Cookie.put("hide_promotion_notice", "1", 1 * 18 * 60 * 60); + Cookie.put("hide_winter_sale_notice", "1", 1 * 60 * 60); Cookie.put("hide_upgrade_account_notice", "1", 7 * 24 * 60 * 60); e.preventDefault(); }); diff --git a/app/views/layouts/default.html.erb b/app/views/layouts/default.html.erb index a12cb7945..67a8c53cc 100644 --- a/app/views/layouts/default.html.erb +++ b/app/views/layouts/default.html.erb @@ -80,7 +80,7 @@