hide toc after first use

This commit is contained in:
albert
2013-02-17 19:34:09 -05:00
parent a00f546254
commit cb5693b1c9

View File

@@ -54,6 +54,7 @@
// Setting location.pathname in Safari doesn't work, so manually extract the domain.
var domain = location.href.match(/^(https?:\/\/[^\/]+)/)[0];
location.href = domain + "/static/terms_of_service";
this.put("toc", "1", 365)
return;
}