Browse Source

Retry "external_api: fixed using deeplinks"

Set target='_top' inside anchor.

Courtesy of #6700
Follow-up to: #6784
master
Suguru Hirahara 4 years ago
parent
commit
8c30e43b5f

+ 4
- 2
react/features/deep-linking/components/DeepLinkingMobilePage.web.js View File

@@ -125,7 +125,8 @@ class DeepLinkingMobilePage extends Component<Props> {
125 125
                     <a
126 126
                         { ...onOpenLinkProperties }
127 127
                         href = { this._generateDownloadURL() }
128
-                        onClick = { this._onDownloadApp }>
128
+                        onClick = { this._onDownloadApp }
129
+                        target = '_top'>
129 130
                         <button className = { downloadButtonClassName }>
130 131
                             { t(`${_TNS}.downloadApp`) }
131 132
                         </button>
@@ -134,7 +135,8 @@ class DeepLinkingMobilePage extends Component<Props> {
134 135
                         { ...onOpenLinkProperties }
135 136
                         className = { `${_SNS}__href` }
136 137
                         href = { generateDeepLinkingURL() }
137
-                        onClick = { this._onOpenApp }>
138
+                        onClick = { this._onOpenApp }
139
+                        target = '_top'>
138 140
                         {/* <button className = { `${_SNS}__button` }> */}
139 141
                         { t(`${_TNS}.openApp`) }
140 142
                         {/* </button> */}

Loading…
Cancel
Save