Fix prettier.

This commit is contained in:
Lauri Ojansivu 2020-01-10 04:09:40 +02:00
parent 83e4d214cd
commit 5bece0dd1e
3 changed files with 19 additions and 7 deletions

View file

@ -48,6 +48,11 @@ $.fn.escapeableTextComplete = function(strategies, options, ...otherArgs) {
return this;
};
EscapeActions.register('textcomplete', () => {}, () => dropdownMenuIsOpened, {
noClickEscapeOn: '.textcomplete-dropdown',
});
EscapeActions.register(
'textcomplete',
() => {},
() => dropdownMenuIsOpened,
{
noClickEscapeOn: '.textcomplete-dropdown',
},
);

View file

@ -38,9 +38,13 @@ AccountsTemplates.configure({
},
});
['signIn', 'signUp', 'resetPwd', 'forgotPwd', 'enrollAccount'].forEach(
routeName => AccountsTemplates.configureRoute(routeName),
);
[
'signIn',
'signUp',
'resetPwd',
'forgotPwd',
'enrollAccount',
].forEach(routeName => AccountsTemplates.configureRoute(routeName));
// We display the form to change the password in a popup window that already
// have a title, so we unset the title automatically displayed by useraccounts.

View file

@ -153,7 +153,10 @@ if (isSandstorm && Meteor.isServer) {
return session.activity(event);
})
.then(() => done(), e => done(e));
.then(
() => done(),
e => done(e),
);
})();
}