Fix news updates always being hidden

Regression from 0fb44a801b
This commit is contained in:
Toks
2013-07-13 23:56:53 -04:00
parent 092ddbe6e6
commit 6363e23f6c

View File

@@ -7,6 +7,8 @@
if (Danbooru.Cookie.get("news-ticker") == key) {
$("#news-updates").hide();
} else {
$("#news-updates").show();
$("#close-news-ticker-link").click(function(e) {
$("#news-updates").hide();
Danbooru.Cookie.put("news-ticker", key);