Skip to content

Commit

Permalink
format js
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Jan 9, 2024
1 parent b45be4e commit 2f2e7f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/src/forum/components/ChallengeQuestionField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default class ChallengeQuestionField extends Component {

showChallengeModal() {
if (this.challengeToken !== null) {
return;
return;
}

app.modal.show(
Expand Down
2 changes: 1 addition & 1 deletion js/src/forum/extenders/extendSignUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import ChallengeQuestionField from '../components/ChallengeQuestionField';
export default function extendSignUp() {
extend(SignUpModal.prototype, 'fields', function (fields) {
if (app.forum.attribute('fof-anti-spam.challenge')) {
fields.add('challenge-question', <ChallengeQuestionField />, 8);
fields.add('challenge-question', <ChallengeQuestionField />, 8);
}
});
}
Expand Down

0 comments on commit 2f2e7f7

Please sign in to comment.