From d772a8df854672bf5833b5a3b42b9b8f41282642 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sun, 10 Apr 2016 15:21:35 +0900 Subject: [PATCH] Completely hide debug button when not in use --- common/css/xe.css | 1 + common/js/debug.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/css/xe.css b/common/css/xe.css index c02a052e5..2db142d54 100644 --- a/common/css/xe.css +++ b/common/css/xe.css @@ -293,6 +293,7 @@ button.btn { /* Debug */ #rhymix_debug_button { + display: none; position: fixed; left: 0; bottom: 40px; background: #eeeeee; diff --git a/common/js/debug.js b/common/js/debug.js index 1eaabfd0d..5b1fef0e4 100644 --- a/common/js/debug.js +++ b/common/js/debug.js @@ -10,7 +10,7 @@ $(function() { // Find debug panel elements. var panel = $("#rhymix_debug_panel"); - var button = $("#rhymix_debug_button"); + var button = $("#rhymix_debug_button").show(); // Initialize the debug button. var button_link = $('').text("DEBUG").appendTo(button).click(function(event) {