[PE SSE mobile] Fix Bug 50792
This commit is contained in:
parent
b49af817e2
commit
80bbdf2828
|
@ -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)
|
||||
}}
|
||||
/> :
|
||||
<ListItem link={'/add-link-to/'} title={_t.textLinkTo} after={displayTo} routeProps={{
|
||||
|
|
|
@ -88,11 +88,7 @@ const AddLinkView = props => {
|
|||
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' : ''}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue