Skip to content

Commit

Permalink
update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc committed Jan 20, 2017
1 parent 6eee409 commit b4b0285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ <h3>Usage</h3>
$_('result').innerHTML = xmorse.encode($_('input').value, getoption());
}
function decode() {
$_('result').innerHTML = xmorse.decode($_('input').value, getoption());
$_('result').innerHTML = xmorse.decode($_('input').value, getoption()) || 'Morse code is not valid.';
}
</script>
</body>
Expand Down

0 comments on commit b4b0285

Please sign in to comment.