Upgrade the useraccount system that support autofocus

v1.10.0 fixes https://github.com/meteor-useraccounts/core/issues/384
This commit is contained in:
Maxime Quandalle 2015-05-18 12:49:11 +02:00
parent 018bb343b5
commit 790a0e0a2d
2 changed files with 2 additions and 8 deletions

View file

@ -1,9 +1,3 @@
// XXX This should be handled by default (and in a better way) by useraccounts.
// See https://github.com/meteor-useraccounts/core/issues/384
Template.atForm.onRendered(function() {
this.find('input').focus();
});
Template.memberMenuPopup.events({
'click .js-language': Popup.open('setLanguage'),
'click .js-logout': function(evt) {