diff --git a/apps/presentationeditor/mobile/src/view/add/AddLink.jsx b/apps/presentationeditor/mobile/src/view/add/AddLink.jsx index 4894ac965..fd164ddb6 100644 --- a/apps/presentationeditor/mobile/src/view/add/AddLink.jsx +++ b/apps/presentationeditor/mobile/src/view/add/AddLink.jsx @@ -116,11 +116,7 @@ const PageLink = props => { placeholder={_t.textLink} value={link} onChange={(event) => { - if (link.includes('https://')) { - setDisplay(link) - } setLink(event.target.value) - setDisplay(event.target.value) }} /> : { placeholder={_t.textLink} value={link} onChange={(event) => { - if (link.includes('https://')) { - setDisplayText(link) - } setLink(event.target.value) - setDisplayText(event.target.value) }} className={isIos ? 'list-input-right' : ''} />