diff --git a/index.html b/index.html
index 5db2c1c..36d04bb 100644
--- a/index.html
+++ b/index.html
@@ -205,7 +205,7 @@
-
+
diff --git a/js/coinbin.js b/js/coinbin.js
index 6ad4951..a189b7d 100644
--- a/js/coinbin.js
+++ b/js/coinbin.js
@@ -254,6 +254,9 @@ $(document).ready(function() {
/* encrypted key code */
if((!$("#encryptKey").is(":checked")) || $("#aes256pass").val()==$("#aes256pass_confirm").val()){
$("#aes256passStatus").addClass("hidden");
+ if($("#encryptKey").is(":checked")){
+ $("#aes256wifkey").removeClass("hidden");
+ }
} else {
$("#aes256passStatus").removeClass("hidden");
}
@@ -271,9 +274,9 @@ $(document).ready(function() {
$("#encryptKey").click(function(){
if($(this).is(":checked")){
- $("#ase256wifkey, #aes256passform").removeClass("hidden");
+ $("#aes256passform").removeClass("hidden");
} else {
- $("#ase256wifkey, #aes256passform, #aes256passStatus").addClass("hidden");
+ $("#aes256wifkey, #aes256passform, #aes256passStatus").addClass("hidden");
}
});