aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html/display_panel/content/main_panel.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/html/display_panel/content/main_panel.js b/html/display_panel/content/main_panel.js
index 7c1170d..8b20ff5 100644
--- a/html/display_panel/content/main_panel.js
+++ b/html/display_panel/content/main_panel.js
@@ -78,9 +78,9 @@ function new_debug_button(name_text,callback){
*/
function write_elements(data,name,color){
var url = data["url"];
- var button_html = '<div style="float:left;"><input id="temp" type="button" value="blacklist"></input></div>';
- var button_html_2 = '<div style="float:left;"><input id="temp2" type="button" value="whitelist"></input></div>';
- var button_html_3 = '<div style="float:left;"><input id="temp3" type="button" value="forget preference"></input></div>';
+ var button_html = '<div style="display:none; float:left;"><input id="temp" type="button" value="blacklist"></input></div>';
+ var button_html_2 = '<div style="display:none;float:left;"><input id="temp2" type="button" value="whitelist"></input></div>';
+ var button_html_3 = '<div style="display:none;float:left;"><input id="temp3" type="button" value="forget preference"></input></div>';
var heading = document.getElementById(name).getElementsByTagName("h2")[0];
var list = document.getElementById(name).getElementsByTagName("ul")[0];
if(typeof(data[name]) == "undefined" || data[name].length == 0){