diff --git a/interface_profile-edit.js b/interface_profile-edit.js index 0598e5b..b5f0dea 100644 --- a/interface_profile-edit.js +++ b/interface_profile-edit.js @@ -40,7 +40,12 @@ function initProfileEdit() { loadProfileForEdit(); dumpPrivkey(defaultScreenName, function(args, key) { + $(".secret-key-container").hide(); $(".secret-key").text(key); + + $(".toggle-priv-key").click(function () { + $(".secret-key-container").fadeToggle(); + }); }, {}); }); } diff --git a/profile-edit.html b/profile-edit.html index 09879cc..55a606d 100644 --- a/profile-edit.html +++ b/profile-edit.html @@ -84,11 +84,12 @@
+
-
+
Secret key: