aboutsummaryrefslogtreecommitdiff
path: root/html/display_panel/content
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@fsf.org>2018-05-03 19:41:21 -0400
committerRuben Rodriguez <ruben@fsf.org>2018-05-03 19:41:21 -0400
commit855553acba132562784e9a8e4a5e76bb284e6031 (patch)
tree1d118f6dbc144bd505ede22ce15d060c5c74e7c9 /html/display_panel/content
parent181e5194a418d0cf9f876710f559e6dc80590989 (diff)
Hide per-script action buttons until functionality works
Diffstat (limited to 'html/display_panel/content')
-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){