diff --git a/web/index.html b/web/index.html index 97e6dce..3180461 100644 --- a/web/index.html +++ b/web/index.html @@ -26,7 +26,7 @@     - + diff --git a/web/js/opentrashmail.js b/web/js/opentrashmail.js index 5f7a092..da00f6e 100644 --- a/web/js/opentrashmail.js +++ b/web/js/opentrashmail.js @@ -18,8 +18,8 @@ $( document ).ready(function() { },"json") $.get("api.php?a=show-list",function(data){ - if (!data) - $("#btn-list-addresses").hide(); + if (data) + $("#btn-list-addresses").show(); },"json") });