diff --git a/php/controller.php b/php/controller.php index c9796254..fe5fc2d3 100644 --- a/php/controller.php +++ b/php/controller.php @@ -80,7 +80,7 @@ -
diff --git a/static/css/style.css b/static/css/style.css index 0291ade8..180b23e1 100755 --- a/static/css/style.css +++ b/static/css/style.css @@ -823,4 +823,8 @@ ul #chat-log{ .about-remote{ padding-top: 50px; +} + +.rc{ + display: none; } \ No newline at end of file diff --git a/static/js/remotecontroller.js b/static/js/remotecontroller.js index 12ce3be0..e550f5f4 100644 --- a/static/js/remotecontroller.js +++ b/static/js/remotecontroller.js @@ -41,9 +41,8 @@ function control() $("#code-input").val(""); start = false; - $("#volume-control").css("display", "block"); - $("#remote-controls").css("display", "block"); - + $(".rc").css("display", "block"); + document.getElementById("base").setAttribute("onsubmit", "control(); return false;"); $("#remote-text").text("Controlling "+ id.toUpperCase()) document.getElementById("search").setAttribute("length", "18");