diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/new_channel_modal.jsx | 2 | ||||
-rw-r--r-- | web/react/utils/text_formatting.jsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/new_channel_modal.jsx b/web/react/components/new_channel_modal.jsx index f3fb8da2a..fc7b8c183 100644 --- a/web/react/components/new_channel_modal.jsx +++ b/web/react/components/new_channel_modal.jsx @@ -150,7 +150,7 @@ export default class NewChannelModal extends React.Component { tabIndex='2' /> <p className='input__help'> - {'The purpose of your channel. To help others decide whether to join.'} + {'This is the purpose of your channel and helps others decide whether to join.'} </p> {serverError} </div> diff --git a/web/react/utils/text_formatting.jsx b/web/react/utils/text_formatting.jsx index 2025e16da..54d010dbf 100644 --- a/web/react/utils/text_formatting.jsx +++ b/web/react/utils/text_formatting.jsx @@ -56,7 +56,7 @@ function autolinkUrls(text, tokens) { const linkText = match.getMatchedText(); let url = linkText; - if (!url.lastIndexOf('http', 0) === 0) { + if (url.lastIndexOf('http', 0) !== 0) { url = `http://${linkText}`; } |