Fix channellist cookie

This commit is contained in:
calzoneman 2013-06-19 18:09:22 -04:00
parent c369a10961
commit 9c9ed754b1

View file

@ -45,8 +45,8 @@
<script src="assets/js/jquery.js" type="text/javascript"></script>
<script src="assets/js/iourl.js" type="text/javascript"></script>
<script type="text/javascript">
var session = readCookie("sync_session") || "";
var uname = readCookie("sync_uname") || "";
var session = readCookie("cytube_session") || "";
var uname = readCookie("cytube_uname") || "";
var p = "";
if(uname && session) {
$.getJSON(WEB_URL+"/api/json/login?name="+uname+"&session="+session+"&callback=?", function(data) {