summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-09-30 19:15:05 +0200
committerTimotej Lazar <timotej.lazar@araneo.org>2015-09-30 19:15:05 +0200
commitfda19e7fe59119925043f98cafbe1d8735f2e288 (patch)
treea54ad4eda1b914d07387656b8a51dcd46b116425 /js
parentd198bfef31cb1fad78c5848ef052322dce0e873b (diff)
Use $('a,b') instead of $('a').add('b')
Improving my jQuery-fu…
Diffstat (limited to 'js')
-rw-r--r--js/codeq/login.js2
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(){