Skip to content

Commit

Permalink
Clear text boxes when used
Browse files Browse the repository at this point in the history
  • Loading branch information
aleitner committed Sep 6, 2018
1 parent d6e7950 commit 0445a9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
}

alert('You have successfully cursed a helpless fool!');

document.getElementById('curse-victim').value = ''
});
}

Expand Down Expand Up @@ -117,7 +119,7 @@
console.log(error)
return
}

document.getElementById('curse-others').style = 'display:auto;';
web3.eth.defaultAccount = accounts[0]

Expand Down

0 comments on commit 0445a9d

Please # to comment.