Переглянути джерело

feat(DeepLinkingMobilePage): fix nested iframe button

master
srmcgann 6 роки тому
джерело
коміт
e7d0bf7b66

+ 4
- 2
react/features/deep-linking/components/DeepLinkingMobilePage.web.js Переглянути файл

@@ -138,7 +138,8 @@ class DeepLinkingMobilePage extends Component<Props, State> {
138 138
                     </p>
139 139
                     <a
140 140
                         href = { this._generateDownloadURL() }
141
-                        onClick = { this._onDownloadApp } >
141
+                        onClick = { this._onDownloadApp } 
142
+                        target = "_blank">
142 143
                         <button className = { downloadButtonClassName }>
143 144
                             { t(`${_TNS}.downloadApp`) }
144 145
                         </button>
@@ -146,7 +147,8 @@ class DeepLinkingMobilePage extends Component<Props, State> {
146 147
                     <a
147 148
                         className = { `${_SNS}__href` }
148 149
                         href = { this.state.joinURL }
149
-                        onClick = { this._onOpenApp }>
150
+                        onClick = { this._onOpenApp }
151
+                        target = "_blank">
150 152
                         {/* <button className = { `${_SNS}__button` }> */}
151 153
                         { t(`${_TNS}.openApp`) }
152 154
                         {/* </button> */}

Завантаження…
Відмінити
Зберегти