X-Git-Url: https://code.grnet.gr/git/pithos/blobdiff_plain/e414f54dd4d08176f2afe52869825b1c57ce9173..8b8cd850080a2aaaa54200bbfb031d08df6c50e2:/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 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