Added message if video not on LBRY

This commit is contained in:
kodxana 2019-10-20 00:00:55 +02:00 committed by GitHub
parent f86e9fcc66
commit d0ea72c6f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,8 +43,10 @@ function validateVideo (id) {
let url = "https://open.lbry.com/" + title
console.log(url)
chrome.tabs.update({url: url});
} else {
chrome.windows.create({'url': 'message.html', 'type': 'popup', height: 200, width:200});
}
});
}
}