From 9d613fe033bbf6b35c6e843f9532793bf22ea96e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Wed, 19 Mar 2014 23:36:58 +0100 Subject: [PATCH] fix reset of the vanity wallet when switching currency --- src/janin.currency.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/janin.currency.js b/src/janin.currency.js index cac02a1..de35487 100644 --- a/src/janin.currency.js +++ b/src/janin.currency.js @@ -47,9 +47,9 @@ janin.currency = { document.getElementById("vanityprivatekey").innerHTML = ""; document.getElementById("vanityinput1").value = ""; document.getElementById("vanityinput2").value = ""; - document.getElementById("vanityaddress").value = ""; - document.getElementById("vanitypublickeyhex").value = ""; - document.getElementById("vanityprivatekeywif").value = ""; + document.getElementById("vanityaddress").innerHTML = ""; + document.getElementById("vanitypublickeyhex").innerHTML = ""; + document.getElementById("vanityprivatekeywif").innerHTML = ""; }, };