diff options
-rw-r--r-- | settings/js/personal.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js index 010f0fc0a79..576a425ce52 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -164,6 +164,11 @@ $(document).ready(function(){ $('#email').keyup(function(){ if ($('#email').val() !== '' ){ + // if this is the enter key changeEmailAddress() is already invoked + // so it doesn't need to be triggered again + if(event.keyCode === 13) { + return; + } if(typeof timeout !== 'undefined'){ clearTimeout(timeout); } |