mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Updated look of remote on mobile, and fixed changing channel remotely
This commit is contained in:
@@ -24,6 +24,7 @@ var Hostcontroller = {
|
||||
began = true;
|
||||
socket.on(id, function(arr)
|
||||
{
|
||||
|
||||
if(enabled){
|
||||
if(arr[0] == "volume"){
|
||||
$("#volume").slider("value", arr[1]);
|
||||
@@ -31,6 +32,7 @@ var Hostcontroller = {
|
||||
localStorage.setItem("volume", arr[1]);
|
||||
Playercontrols.choose_button(arr[1], false);
|
||||
}else if(arr[0] == "channel"){
|
||||
console.log("changing channel");
|
||||
socket.emit("change_channel");
|
||||
Admin.beginning = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user