This commit is contained in:
albert
2013-02-24 13:54:12 -05:00
parent 6b71921dd0
commit 1d0fc3f39b

View File

@@ -15,16 +15,6 @@ $(function() {
Danbooru.Cookie.put('hide_upgrade_account_notice', '1', 7);
e.preventDefault();
});
// TOS link
if (!location.href.match(/terms_of_service/) && Danbooru.Cookie.get("tos") !== "1") {
var domain = location.href.match(/^(http:\/\/[^\/]+)/)[0];
location.href = domain + "/static/terms_of_service?url=" + location.href;
}
$("#tos-agree-link").click(function() {
Danbooru.Cookie.put("tos", "1");
})
});
var Danbooru = {};