diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-30 19:15:05 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-30 19:15:05 +0200 |
commit | fda19e7fe59119925043f98cafbe1d8735f2e288 (patch) | |
tree | a54ad4eda1b914d07387656b8a51dcd46b116425 /js | |
parent | d198bfef31cb1fad78c5848ef052322dce0e873b (diff) |
Use $('a,b') instead of $('a').add('b')
Improving my jQuery-fu…
Diffstat (limited to 'js')
-rw-r--r-- | js/codeq/login.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/codeq/login.js b/js/codeq/login.js index 7db2c8c..9be1c8c 100644 --- a/js/codeq/login.js +++ b/js/codeq/login.js @@ -34,7 +34,7 @@ }) .done(); }, - formInputs = $('#username').add('#password'); + formInputs = $('#username, #password'); codeq.globalStateMachine.register('login',{ 'enter': function(){ |