diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/file_attachment.jsx | 3 | ||||
-rw-r--r-- | web/react/components/team_signup_password_page.jsx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/web/react/components/file_attachment.jsx b/web/react/components/file_attachment.jsx index d07afbc2b..5d7855037 100644 --- a/web/react/components/file_attachment.jsx +++ b/web/react/components/file_attachment.jsx @@ -64,7 +64,8 @@ export default class FileAttachment extends React.Component { var url = path.replace(re1, '%20').replace(re2, '%28').replace(re3, '%29'); $(imgDiv).css('background-image', 'url(' + url + '_thumb.jpg)'); } - }; }(fileInfo.path, filename)); + }; + }(fileInfo.path, filename)); } } } diff --git a/web/react/components/team_signup_password_page.jsx b/web/react/components/team_signup_password_page.jsx index f36ec1119..4088c7cef 100644 --- a/web/react/components/team_signup_password_page.jsx +++ b/web/react/components/team_signup_password_page.jsx @@ -42,7 +42,7 @@ export default class TeamSignupPasswordPage extends React.Component { var props = this.props; Client.loginByEmail(teamSignup.team.name, teamSignup.team.email, teamSignup.user.password, - function loginSuccess() { + function loginSuccess(data) { UserStore.setLastEmail(teamSignup.team.email); UserStore.setCurrentUser(data); if (this.props.hash > 0) { |