Browse Source

feat(DeepLinkingMobilePage): fix nested iframe button

master
srmcgann 6 years ago
parent
commit
e7d0bf7b66

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

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

Loading…
Cancel
Save