Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $('#l-email').keypress(function (e) {
- if (e.which == 13) {
- $('form.login-form').submit();
- return false; //<---- Add this line
- }
- });
- $('#l-password').keypress(function (e) {
- if (e.which == 13) {
- $('form.login-form').submit();
- return false; //<---- Add this line
- }
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement