This commit is contained in:
Morris Jobke 2013-12-09 16:05:10 +01:00
parent 44a55056e7
commit bc23f46198
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ $(document).ready(function(){
});
$('#email').keypress(function(event){
// check for enter key and non empyt email
// check for enter key and non empty email
if (event.keyCode === 13 && $('#email').val() !== '' ){
event.preventDefault()
// clear timeout of previous keyup event - prevents duplicate changeEmailAddress call