fix
This commit is contained in:
@@ -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 = {};
|
||||
|
||||
Reference in New Issue
Block a user