diff options
Diffstat (limited to 'html/display_panel/content/main_panel.js')
-rw-r--r-- | html/display_panel/content/main_panel.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/html/display_panel/content/main_panel.js b/html/display_panel/content/main_panel.js index edbd909..8622493 100644 --- a/html/display_panel/content/main_panel.js +++ b/html/display_panel/content/main_panel.js @@ -3,6 +3,7 @@ * * * Copyright (C) 2017, 2018 NateN1222 <nathannichols454@gmail.com> * Copyright (C) 2018 Ruben Rodriguez <ruben@gnu.org> + * Copyright (C) 2018 Giorgio Maone <giorgio@maone.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,8 +20,6 @@ * */ -//TODO: there is a known bug involving "forget preference" not working correctly. - /** * * Sets global variable "webex" to either "chrome" or "browser" for @@ -91,9 +90,9 @@ function new_debug_button(name_text,callback){ */ function write_elements(data,name,color){ var url = data["url"]; - 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 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 heading = document.getElementById(name).getElementsByTagName("h2")[0]; var list = document.getElementById(name).getElementsByTagName("ul")[0]; if(typeof(data[name]) == "undefined" || data[name].length == 0){ |