Fix channellist cookie
This commit is contained in:
parent
c369a10961
commit
9c9ed754b1
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue