Skip to content

Commit

Permalink
Fixing lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
roma2023 authored Sep 15, 2024
1 parent d2dd58c commit 08b19d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/src/client/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ define('forum/register', [
if (results.every(obj => obj.status === 'rejected')) {
showSuccess(usernameInput, username_notify, successIcon);
} else {
showError(usernameInput, username_notify, '[[error:username-taken]]. Maybe try' + usernameInput.val() + 'suffix');
showError(usernameInput, username_notify, '[[error:username-taken]]');
showError(usernameInput, username_notify, `[[error:username-taken. Maybe try ${username}suffix]]`);
}

callback();
Expand Down

0 comments on commit 08b19d4

Please sign in to comment.