diff --git a/www/teams/inner.js b/www/teams/inner.js index 07aa91ab5..913ca4ca8 100644 --- a/www/teams/inner.js +++ b/www/teams/inner.js @@ -1137,7 +1137,11 @@ define([ $divLink.append(content); }, true); } + return; } + $(errorBlock).text(Messages.team_inviteInvalidLinkError).show(); + $(div).empty(); + $inviteDiv.empty(); return; } // No error: join successful!