Fixing issue with lastIndexOf
Этот коммит содержится в:
@@ -41,7 +41,7 @@ export class MattermostMarkdownRenderer extends marked.Renderer {
|
||||
output += ' title="' + title + '"';
|
||||
}
|
||||
|
||||
if (outHref.lastIndexOf(Utils.getTeamURLFromAddressBar()) === 0) {
|
||||
if (outHref.lastIndexOf(Utils.getTeamURLFromAddressBar(), 0) === 0) {
|
||||
output += '>';
|
||||
} else {
|
||||
output += ' target="_blank">';
|
||||
|
||||
Ссылка в новой задаче
Block a user