mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added channel change on placeholder
This commit is contained in:
@@ -7,7 +7,6 @@ var Crypt = {
|
||||
conf_arr = Crypt.decrypt(Crypt.getCookie("_opt"), "_opt");
|
||||
conf_pass = Crypt.decrypt(Crypt.getCookie(chan.toLowerCase()), chan.toLowerCase());
|
||||
}catch(err){
|
||||
console.log("err")
|
||||
conf_arr = Crypt.decrypt(Crypt.create_cookie("_opt"), "_opt");
|
||||
conf_pass = Crypt.decrypt(Crypt.create_cookie(chan.toLowerCase()), chan.toLowerCase());
|
||||
}
|
||||
|
||||
@@ -199,7 +199,7 @@ $(document).ready(function (){
|
||||
if(pad >= 100)
|
||||
window.location.href = 'https://www.youtube.com/v/0IGsNdVoEh0?autoplay=1&showinfo=0&autohide=1';
|
||||
});
|
||||
|
||||
|
||||
/*if(navigator.userAgent.toLowerCase().indexOf("android") > -1){
|
||||
//console.log("android");
|
||||
if(Nochan.getCookie("show_prompt") == ""){
|
||||
@@ -230,3 +230,10 @@ $(document).ready(function (){
|
||||
+ git_info[0].commit.message+"<br");
|
||||
|
||||
});
|
||||
|
||||
$(".listen-button").click(function(){
|
||||
//console.log($(".room-namer").attr("placeholder"));
|
||||
if($(".room-namer").val() == ""){
|
||||
window.location = "?chan="+$(".room-namer").attr("placeholder");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user