瀏覽代碼

Retry "external_api: fixed using deeplinks"

Set target='_top' inside anchor.

Courtesy of #6700
Follow-up to: #6784
j8
Suguru Hirahara 5 年之前
父節點
當前提交
8c30e43b5f
共有 1 個檔案被更改,包括 4 行新增2 行删除
  1. 4
    2
      react/features/deep-linking/components/DeepLinkingMobilePage.web.js

+ 4
- 2
react/features/deep-linking/components/DeepLinkingMobilePage.web.js 查看文件

@@ -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…
取消
儲存