Only check onchange from #generate inputs.
This commit is contained in:
parent
268a674aea
commit
ae667ab263
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@
|
|||
</div>
|
||||
|
||||
<div class="hidden">
|
||||
<input type="text" id="password" />
|
||||
<input type="text" id="password" readyonly="readyonly" tabindex="-1" />
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
@ -51,7 +51,7 @@
|
|||
$('button').corner('round 4px');
|
||||
$('#box').corner('round bottom');
|
||||
|
||||
$('input').change(function() {
|
||||
$('#generate input').change(function() {
|
||||
$('#password').val($.md5($('#root').val() + $('#master').val()));
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue