This commit is contained in:
cutls 2020-02-08 00:46:22 +09:00
parent 495db60a84
commit 790d353b69

View File

@ -287,7 +287,7 @@ function statusModel(now) {
if(pwa) { if(pwa) {
function postMessage(e) { function postMessage(e) {
if (e[0] == 'openUrl') { if (e[0] == 'openUrl') {
urls = e.data[1].match(/https?:\/\/(.+)/) urls = e[1].match(/https?:\/\/(.+)/)
if (urls) { if (urls) {
if(confirm("Open: " + url)) { if(confirm("Open: " + url)) {
window.open(url) window.open(url)