mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Added channel change on placeholder
This commit is contained in:
@@ -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