Skip to content

Commit

Permalink
Update demo.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fpirsch committed Oct 18, 2014
1 parent 67e5008 commit cf8a59a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions demo/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ buttons[0].onclick = clickButton;
buttons[1].onclick = clickButton;
buttons[2].onclick = clickButton;

document.addEventListener('DOMContentLoaded', function(event) {
document.getElementById('version').textContent = 'v' + TwinBcrypt.version;
});
document.getElementById('version').textContent = 'v' + TwinBcrypt.version;

function clickButton(event) {
var button = event.target,
Expand Down

0 comments on commit cf8a59a

Please sign in to comment.