pwa: link
This commit is contained in:
parent
47d69857ba
commit
ba01510c88
|
@ -45,11 +45,18 @@ $(document).on('click', 'a', e => {
|
|||
if (!~ats[2].indexOf('@')) {
|
||||
udgEx(url, 'main')
|
||||
return false
|
||||
} else {
|
||||
if(pwa) {
|
||||
return true
|
||||
} else {
|
||||
postMessage(['openUrl', url], '*')
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if(pwa) {
|
||||
return true
|
||||
}
|
||||
//hrefがhttp/httpsならブラウザで
|
||||
if (urls) {
|
||||
if (urls[0]) {
|
||||
|
@ -204,6 +211,7 @@ if(pwa) {
|
|||
showCloseButton: false,
|
||||
showCancelButton: true,
|
||||
focusConfirm: false,
|
||||
confirmButtonText: 'Close'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user