projects
/
pithos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New static pages.
[pithos]
/
htdocs
/
site_media
/
js
/
check-cookie.js
diff --git a/htdocs/site_media/js/check-cookie.js
b/htdocs/site_media/js/check-cookie.js
new file mode 100644
(file)
index 0000000..
6b4e4b0
--- /dev/null
+++ b/
htdocs/site_media/js/check-cookie.js
@@ -0,0
+1,5
@@
+$(document).ready(function(){
+ if ($.cookie("X-Auth-Token")) {
+ $("body").addClass("auth");
+ }
+});
\ No newline at end of file