pwa: link

This commit is contained in:
cutls 2020-02-08 00:58:21 +09:00
parent 47d69857ba
commit ba01510c88

View File

@ -46,10 +46,17 @@ $(document).on('click', 'a', e => {
udgEx(url, 'main') udgEx(url, 'main')
return false return false
} else { } else {
postMessage(['openUrl', url], '*') if(pwa) {
return true
} else {
postMessage(['openUrl', url], '*')
}
} }
} }
} else { } else {
if(pwa) {
return true
}
//hrefがhttp/httpsならブラウザで //hrefがhttp/httpsならブラウザで
if (urls) { if (urls) {
if (urls[0]) { if (urls[0]) {
@ -204,6 +211,7 @@ if(pwa) {
showCloseButton: false, showCloseButton: false,
showCancelButton: true, showCancelButton: true,
focusConfirm: false, focusConfirm: false,
confirmButtonText: 'Close'
}) })
} }
} }