From 12cea6545ab3341fec53d8db5167919900881889 Mon Sep 17 00:00:00 2001 From: "Nicolas A. Tonne" Date: Mon, 8 Jun 2015 00:36:15 +0200 Subject: [PATCH] Some visibility fixes --- php/controller.php | 13 +++---------- static/css/style.css | 4 ++++ static/js/remotecontroller.js | 5 ++--- 3 files changed, 9 insertions(+), 13 deletions(-) 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");