mirror of
https://github.com/LBRYFoundation/Watch-on-LBRY.git
synced 2025-08-23 17:47:26 +00:00
🍙 removed debug logs
This commit is contained in:
parent
4295dbe1fe
commit
15f03b3bcc
1 changed files with 0 additions and 2 deletions
|
@ -256,7 +256,6 @@ import { getExtensionSettingsAsync, getSourcePlatfromSettingsFromHostname, getTa
|
||||||
if (settings.redirect) {
|
if (settings.redirect) {
|
||||||
const target = (await getTargetsBySources(source))[source.id]
|
const target = (await getTargetsBySources(source))[source.id]
|
||||||
if (!target) return
|
if (!target) return
|
||||||
console.log(url.href, urlHrefCache)
|
|
||||||
if (url.href === urlHrefCache) return
|
if (url.href === urlHrefCache) return
|
||||||
|
|
||||||
const lbryURL = getLbryUrlByTarget(target)
|
const lbryURL = getLbryUrlByTarget(target)
|
||||||
|
@ -276,7 +275,6 @@ import { getExtensionSettingsAsync, getSourcePlatfromSettingsFromHostname, getTa
|
||||||
location.replace(lbryURL)
|
location.replace(lbryURL)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
console.log('open', lbryURL.href)
|
|
||||||
openNewTab(lbryURL, document.hasFocus())
|
openNewTab(lbryURL, document.hasFocus())
|
||||||
|
|
||||||
if (window.history.length === 1) window.close()
|
if (window.history.length === 1) window.close()
|
||||||
|
|
Loading…
Add table
Reference in a new issue