mirror of
https://github.com/LBRYFoundation/Watch-on-LBRY.git
synced 2025-08-23 17:47:26 +00:00
Added message if video not on LBRY
This commit is contained in:
parent
f86e9fcc66
commit
d0ea72c6f3
1 changed files with 3 additions and 1 deletions
|
@ -43,8 +43,10 @@ function validateVideo (id) {
|
||||||
let url = "https://open.lbry.com/" + title
|
let url = "https://open.lbry.com/" + title
|
||||||
console.log(url)
|
console.log(url)
|
||||||
chrome.tabs.update({url: url});
|
chrome.tabs.update({url: url});
|
||||||
|
} else {
|
||||||
|
chrome.windows.create({'url': 'message.html', 'type': 'popup', height: 200, width:200});
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue